Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread David Adams via 4D_Tech
Another one I like, this time a new(ish) command: Current process name http://doc.4d.com/4Dv16/4D/16.1/Current-process-name.301-3375214.en.html ...not that you'll need the docs for this one ** 4D Internet Users Group (4D iNUG) FA

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread David Adams via 4D_Tech
Cannon, Nice one on the hidden object array, really smart. > P.S. Having such an array is a bit like what is requested here, but on a listbox row level: > Okay people, if you haven't given this request of Cannon's a 4 star vote

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread Cannon Smith via 4D_Tech
One of my favorite new techniques is to use an object array as a hidden column in a listbox array. In the old days (before v15 r something or the other) I often had array based list boxes which had a bunch of hidden columns to store data that I wanted to do something with when the row was select

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread Sujit Shah via 4D_Tech
Did not put a cancel or accept button on a form and close box event not handled - debug - type cancel in debugger ( in fact you can type a few things in the debugger ) 😜 On Sun, 28 May 2017 at 3:05 am, Douglas von Roeder via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Steve: > > R2 works with the

Re: Favorite tricks and keystrokes: Please take one and leave one

2017-05-27 Thread Jeffrey Kain via 4D_Tech
Here are a few of mine: - Debugger: in the method you are debugging, you can right click on any line of code and select "Run to cursor" -- easier than setting a breakpoint. - Debugger: Execute commands, not just evaluate expressions. One very useful one -- type SET TEXT TO PASTEBOARD (Json stri

Re: Favorite tricks and keystrokes: Please take one and leave one

2017-05-27 Thread Janet Jonas via 4D_Tech
> On May 27, 2017, at 10:05 AM, David Adams wrote: > > You can break a single line of code into multiple lines to simplify reading > and editing using the / character. Except it’s β€œ\” not β€œ/β€œ - backslash not forward-slash. Mine - I think it may be Mac only: 3-finger salute to go to design mode

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread Douglas von Roeder via 4D_Tech
Steve: R2 works with the default shortcuts keys so 4D might have just stopped supporting the shortcut that I stumbled across. I *do* like how it works - if something's selected, Ctrl-k will go to its definition but if nothing's selected, Ctrl-k opens the Explorer. -- Douglas von Roeder 949-336-2

RE: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread Stephen J. Orth via 4D_Tech
Doug, Obviously I misspoke, V16R3 is still in beta. Also, as you pointed out, R3 also does not open the Explorer when on a blank line. I'm curious if anyone has filed a bug report? Steve -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Stephen J.

RE: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread Stephen J. Orth via 4D_Tech
Doug, Well, V16R2 is still beta and not sure if that is why? Steve -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Douglas von Roeder via 4D_Tech Sent: Saturday, May 27, 2017 11:12 AM To: 4D iNug Technical <4d_tech@lists.4d.com> Cc: Douglas von Roed

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread Douglas von Roeder via 4D_Tech
Cmd-k works for me on 10.11.6 + 15.4 but not on 16R2. With 16R2 Cmd-k "show definition" (open the method, open the docs for the command, etc.) if an item is selected or it the insertion point is in the "object" but it doesn't open the Explorer on an empty line. If Cmd-k isn't working, the default

RE: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread Stephen J. Orth via 4D_Tech
Wayne, Give me an example on where it does not work, as I use this extensively and it's one of the best things 4D has done for programmers. You can literally use this feature to automatically navigate to the source definition of what you cursor is in. Best, Steve -Original Message-

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread Wayne Stewart via 4D_Tech
Doesn't alway work though :( On Sat, 27 May 2017 at 23:57, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote: > command - K > > > On Sat, May 27, 2017 at 12:08 PM, Douglas von Roeder via 4D_Tech < > > 4d_tech@lists.4d.com> wrote: > > > >> A recent discovery for me was a quick way to open the

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread Chip Scheide via 4D_Tech
command - K > On Sat, May 27, 2017 at 12:08 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> A recent discovery for me was a quick way to open the explorer. >> >> Put the insertion point in the method editor on an empty line and press >> Ctrl-k. > > > Sounds handy. I ju

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread David Adams via 4D_Tech
On Sat, May 27, 2017 at 12:08 PM, Douglas von Roeder via 4D_Tech < 4d_tech@lists.4d.com> wrote: > A recent discovery for me was a quick way to open the explorer. > > Put the insertion point in the method editor on an empty line and press > Ctrl-k. Sounds handy. I just tried Control-Click and Com