Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Cannon Smith via 4D_Tech
No worries! :-) -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Dec 2, 2019, at 6:01 PM, Peter Jakobsson via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >> Thanks Canon > > …sorry, I mean “Cannon” of course ;)

Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Cannon Smith via 4D_Tech
You’re welcome. Glad it worked. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Dec 2, 2019, at 5:58 PM, Peter Jakobsson wrote: > > Works a dream. > > Thanks Canon. I had forgotten about SET TIMER. Suddenly these query forms are > perfectly user-intuitive. Start off in

Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Peter Jakobsson via 4D_Tech
> On 3 Dec 2019, at 00:58, Peter Jakobsson via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Thanks Canon …sorry, I mean “Cannon” of course ;) ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html

Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Peter Jakobsson via 4D_Tech
Works a dream. Thanks Canon. I had forgotten about SET TIMER. Suddenly these query forms are perfectly user-intuitive. Start off in filter. Execute query with Return, accept form with return also. Could not be better…thanks for all the tips on here ! Peter > On 3 Dec 2019, at 00:47, Cannon

Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Cannon Smith via 4D_Tech
Hi Peter, Depending on how the subform is set up, it may not be loaded by then. But it should work if you use SET TIMER(-1) and then call EXECUTE IN SUBFORM($subform;”ACTION”) in the timer. HTH. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Dec 2, 2019, at 5:32 PM,

Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Peter Jakobsson via 4D_Tech
Hi ! Back again with a related issue to my previous theme of user interface behaviours. To move the cursor into a widget (in fact a derivative of Miyako’s “search” widget) I usually use a button with CTRL-F shortcut to call “EXECUTE IN SUBFORM($subform;”ACTION”) and then have the “ACTION”

Re: Trapping the 'return' key in list forms

2019-12-02 Thread Peter Jakobsson via 4D_Tech
Many thanks Kirk, and to those who responded to this thread. I’ve tried a variety of approaches in a virgin structure. The simplest appears to be one that was first suggested by Jeremy Rusak but others also alluded to: simply remove the “Focusable” property from the default button (or a button

Re: [Tip] Do NOT put a compnent method reference in a Catch

2019-12-02 Thread Jody Bevan via 4D_Tech
Chip: Thanks for updating us. The found problem and solution is always valuable be get. Jody > On Dec 2, 2019, at 2:33 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > As some may remember I was going nuts trying to track down why when I > loaded an interpreted version of a

Re: How to Modify a column using SQL

2019-12-02 Thread Chuck Miller via 4D_Tech
Do you mean the name or the data. If data it is an update command it name of column it would be an alter command Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax:

Re: How to Modify a column using SQL

2019-12-02 Thread Jim Labos - infobase via 4D_Tech
Does anyone know if this has changed since 2013? I couldn't find anything but I could be missing something. Thanks - Jim Labos - infobase -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html ** 4D

Re: Trapping the 'return' key in list forms

2019-12-02 Thread Kirk Brooks via 4D_Tech
Hey Peter, I was just reading through your question and the answers and I noticed the solutions get sort of complicated. I think the reason is the task you're describing a little unusual. Having one keystroke, the return key, perform two very different actions can result in a non-intuitive UI.

looking for a 4d nerd

2019-12-02 Thread Mike Kerner via 4D_Tech
i've got a really mature 4d-based system that's looking for someone to love it and bring it out of the dark ages email me off-list mikekerner (some symbol) rmkco [some other symbol] com -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the

Re: Trapping the 'return' key in list forms

2019-12-02 Thread Arnaud init5 imap via 4D_Tech
> Le 30 nov. 2019 à 22:58, Peter Jakobsson via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Thanks for that input Chip. > > However I don’t see how this can work. How can the invisible button script > know which field the cursor was in last ? (Or which object last had the focus > prior to