Am Sa., 16. März 2019 um 15:56 Uhr schrieb Jody Bevan via 4D_Tech <
[email protected]>:

> Not sure what you mean, but we have special keys at startup so that we can
> go into Trace mode.
>

sure: like this:
 // On Startup //
If (Caps lock down)
    TRACE
End if

If ((Macintosh control down) | (Windows Ctrl down)) & ((Macintosh option
down) | (Windows Alt down))
    TRACE
End if

----------------------------
Also advisable:

> > I have used this small code in a menu method for years and it works...
> > If (Current user="Designer")
> >       TRACE
> > End if
>
> -----------------------
My favorite since Years is a big "Developer" button on a always visible
Dialog:
Case of
    : (Form event=On Load)
        OBJECT SET VISIBLE(Self->;Not(Is compiled mode))

    : (Form event=On Clicked)
        If (Macintosh option down)
            TRACE
        End if
         METHOD OPEN PATH("2_0_dev_documentation")
End case


Cheers
Bernd Bippus

+++++Ich mache mir die 4D-Welt wie sie mir gefällt.++++
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to