Re: Migrating OS X server to Windows Server

2017-05-18 Thread Paul Lovejoy via 4D_Tech
Thanks to everyone for your help and advice. The Power Sleep option was a killer. When we turned it off the 4D Server performance problems went away instantly. What a relief. Why on earth would Apple even have that option available and set to default on a server OS? In any case, the immediate

RE: Disable close button on Splash screen windows v12

2017-05-18 Thread Timothy Penner via 4D_Tech
Hi John, I just ran some quick tests and I think the most likely scenario here is that you still need to assign a password to Designer (which is required to enable the 4D password system). Enabling the 4D Password System is a requirement for many features in 4D that pertain to the users and

RE: V15.4 & Shy Server Syndrome?

2017-05-18 Thread Timothy Penner via 4D_Tech
Hi Doug, You mention it happens with the source code too, so with regular 4D Server.exe - but what about a new blank structure file (this is to determine if the issue is specific to the structure or the application)? If it does not happen with a new structure file then try commenting out the

Re: Exploring CALL WORKER vs New process

2017-05-18 Thread David Adams via 4D_Tech
On Fri, May 19, 2017 at 4:41 AM, Timothy Penner via 4D_Tech < 4d_tech@lists.4d.com> wrote: +1 Tim nailed it and offered a really clear explanation, I think. I use workers in a headless mode without windows and use forms when I do need a window. In both cases, the 'messages' are *not*

Re: Can't delete methods

2017-05-18 Thread Doug Hall via 4D_Tech
No, but when I went to the home tab, I couldn't find the methods -- not even in the subfolders at the bottom of the list. Then, on a whim I looked in the trash and there they were. Just to make sure I wasn't crazy, I went *back* to the methods list, and there they were also. So, I double-checked

Re: V15.4 & Shy Server Syndrome?

2017-05-18 Thread Jeffrey Kain via 4D_Tech
Is your server running with admin (or sufficiently high) privileges? -- Jeffrey Kain jeffrey.k...@gmail.com > On May 18, 2017, at 6:23 PM, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > I *can* go through the rigamarole of fixing the window (it only happens at > startup)

V15.4 & Shy Server Syndrome?

2017-05-18 Thread Douglas von Roeder via 4D_Tech
Just rolled out an application in version 15.4 (Windows) and I'm seeing what I'll refer to as the "shy server syndrome". V15.3 was installed but I installed 15.4 to get past an issue resolved in 15.3. When I launch the source code, the compiled application, or the built server application, the

RE: Disable close button on Splash screen windows v12

2017-05-18 Thread Timothy Penner via 4D_Tech
Hi John, > Thanks but I am aware of these … trying to make sure I understand before I > spend time on it. > I do have a group named “Admin” and that group has been assigned in database > settings. Did you set a password for Designer? ^ This must be done in order to activate the 4D Password

Re: Query selection by example.

2017-05-18 Thread bob.miller--- via 4D_Tech
RE> Is there a way of doing a query by example, on an aleady queried selection of records? I want to create a selection of records, based on some internal criterea, and then present that selection, in the form of Query by Example, to the user. Sure, I use this method with great results (the

Re: Exploring CALL WORKER vs New process

2017-05-18 Thread Keith Culotta via 4D_Tech
OK - I have to take that back. I recall that calling Dialog(TableOrProjectForm;plain window;*) always closed the window immediately after it was opened, unless it was called from a "main" window. I just tried it anyway, and it stayed open. Will rethink... Keith - CDI > On May 18, 2017, at

Re: Exploring CALL WORKER vs New process

2017-05-18 Thread Keith Culotta via 4D_Tech
In just about all UI processes Dialog(TableOrProjectForm;plain window) is the only way a window gets opened. I suppose this has simulated calling DIALOG(*) from a [I forget what kind of] window. These can call their own DIALOG(*) windows too. Wanting to use CALL WORKER would change that

RE: Exploring CALL WORKER vs New process

2017-05-18 Thread Timothy Penner via 4D_Tech
> Sure enough, Dialog puts the brakes on it. Maybe using the * parameter to DIALOG will allow your design to function? -Tim ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: Exploring CALL WORKER vs New process

2017-05-18 Thread Keith Culotta via 4D_Tech
Tim, Sure enough, Dialog puts the brakes on it. Keith - CDI > On May 18, 2017, at 1:41 PM, Timothy Penner via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > For example, if the Worker is running DIALOG then the method will not > complete until after the window is closed. Like in your example:

RE: Disable close button on Splash screen windows v12

2017-05-18 Thread Timothy Penner via 4D_Tech
Hi John, Maybe these will help? http://kb.4d.com/assetid=76953 http://kb.4d.com/assetid=76767 -Tim ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html

RE: Exploring CALL WORKER vs New process

2017-05-18 Thread Timothy Penner via 4D_Tech
Hi Keith, > Communication to a process seems easier if the process is started using CALL > WORKER. Not only can any of its windows be called with CALL FORM, but the > process can also be called with CALL WORKER, without knowing which window, if > any, is open. I have not tried what you

Re: Exploring CALL WORKER vs New process

2017-05-18 Thread Keith Culotta via 4D_Tech
Kirk, wOpen lets a user modify a record in a window in a new process. This DB would have only a few records that could be picked from a floating list. When the floating list process wants to change the record: If the record is locked by a wOpen type process, the floating list could use CALL

Re: How to trap a form save keystroke in an object method ?

2017-05-18 Thread Kirk Brooks via 4D_Tech
Peter, How about adding a hidden button to trap for Enter key strokes? I run all my active objects into a single project method (the 'form controller' I like to talk about). So I'd have that button call the form controller and handle the save code the same way the normal save event would process.

Re: Exploring CALL WORKER vs New process

2017-05-18 Thread Kirk Brooks via 4D_Tech
Keith, First off I'm not clear what the intent of wOpen is - are we modifying the record or simply displaying it? If it's only being displayed you don't need CALL WORKER to change it - any process that can load it can change it. The issue becomes notifying the display process to refresh itself -

Re: How to trap a form save keystroke in an object method ?

2017-05-18 Thread Keith White via 4D_Tech
Does FILTER EVENT work in this context? Or REJECT(field) as someone has already suggested. Best regards Keith White Synergist Express Ltd, UK ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

RE: v15.4 to v15r5 gotcha - WP Area

2017-05-18 Thread Dennis, Neil via 4D_Tech
> $span:=" 800; font-size: 8px "+Char(Double Quote) +">"+$text+"" What you have is perfect, however there is a cool way to code the above line with less string math $span:=""+$text+"" I find this just as readable and easier to type, but the other way is just a personal preference

v15.4 to v15r5 gotcha - WP Area

2017-05-18 Thread Randy Engle via 4D_Tech
Just a small item, but it took a fair bit of time to sleuth it. Here is the code I had in v15.4 (Windows) Worked just fine $span:=""+$text+"" Moved to v15r5 Did not recognize, font-weight or font-size Had to change the "single-quotes" in the code above to Double Quotes in order for all to be

Exploring CALL WORKER vs New process

2017-05-18 Thread Keith Culotta via 4D_Tech
Are there good reasons to keep using "New process" in a situation like the following, or can it be replaced by "CALL WORKER"? //--Base process that shows a list of records from [Table]. Pick a record and $p:=New process("wOpen";0;[Table]PriKey;*) //--wOpen - displays the record on the screen

RE: Migrating OS X server to Windows Server

2017-05-18 Thread Myriad List via 4D_Tech
Paul; We have several instances of this specific problem. I have several points that may help your decision. On April 4th of this year Apple announced that a new modular successor model to the Mac Pro was being designed and would be available potentially 2018 because they were just starting

Re: How to trap a form save keystroke in an object method ?

2017-05-18 Thread Koen Van Hooreweghe via 4D_Tech
Hi Peter, Are you using the REJECT([table]field) command? Using the field parameter? This should prevent any other object method/form method/automatic action to run. HTH Koen Op 18-mei-2017, om 15:56 heeft Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> het volgende geschreven: >> I think I

Re: How to trap a form save keystroke in an object method ?

2017-05-18 Thread Chip Scheide via 4D_Tech
don't revert the 'Bad" value. Enter : 9 hit On data change : - Alert("The value you entered '9' is invalid.") Goto object(whateveritis called) On Save : Test for bad value(s) - find bad value (from above) Reject reset to good value, or clear On Thu, 18 May 2017 11:29:34 +0200, Peter

Re: How to trap a form save keystroke in an object method ?

2017-05-18 Thread Chip Scheide via 4D_Tech
On Thu, 18 May 2017 03:51:46 +0200, Peter Jakobsson via 4D_Tech wrote: > Hi > > I rarely come across this problem. > > Lets say you have a field with an “On Data Change” object method > which does field level validation that rejects an entry. > > Lets says the form has a default button and

Re: v13 - Accessing user groups in component

2017-05-18 Thread Chip Scheide via 4D_Tech
Thanks! On Wed, 17 May 2017 19:44:55 -0400, Jeremy French wrote: > > According to the documentation, you are seeing the host’s users and > groups from within the component. > > From the documentation: "the 'Users and Groups' theme can be used > from a component but will read the users and

Query selection by example.

2017-05-18 Thread Peter Mew via 4D_Tech
Hi Is there a way of doing a query by example, on an aleady queried selection of records? I want to create a selection of records, based on some internal criterea, and then present that selection, in the form of Query by Example, to the user. thanks -pm

Re: How to trap a form save keystroke in an object method ?

2017-05-18 Thread Peter Jakobsson via 4D_Tech
On 18 May 2017, at 05:50, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> wrote: > Get rid of the auto save action. Then you can handle what ever situations you > need to. We have not used auto action buttons for 25 years. Hi Jody I have actually done that. It isn’t the problem here though - the