Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DEBUG, FIX hotkey?
Message
From
17/03/2006 10:22:06
 
 
To
16/03/2006 11:05:06
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01104900
Message ID:
01105302
Views:
28
Mike,

We use the following code:
************************************************
PROCEDURE IsDebug
************************************************
*  Author............: Daniel Gramunt
*  Created...........: 27.08.2001 - 09:25:26 (Visual FoxPro 07.00.0000.9262)
*  Copyright.........: (c) Nokia, 2001
*) Description.......: Returns .t. if one of the debugger windows is the active window.
*  Calling Samples...:
*  Parameter List....:
*  Major change list.:
*--------------------------------------------------------------------------------------------------
IF This.LoadFoxTools()
   IF INLIST(_WTITLE(_WONTOP()), "Trace", "Watch", "Call Stack", "Debug Output", "Locals")
      RETURN .t.
   ELSE
      RETURN .f.
   ENDIF
ENDIF
*-- EOF Method IsDebug -----------------------------------------------------------------------------------
>Hi all
>
>I asked this before and no one responded. In the debugger debug menu, the fix option has no hotkey. When I click the debug menu option, there is quite a delay as some application code runs. I'd like to have a hotkey for the fix option so I can fix the piece of code faster!
>
>Alt+D,F,Y is better than using the mouse. So I did an ON KEY LABEL CTRL+F8 DO DebugFix.PRG.
>
>DebugFix.prg will basically KEYBOARD "{ALT+D}FY" PLAIN CLEAR
>
>I'd like to detect that the debugger is the active window so it doesn't do that keystroke just anyplace. How would I do that?
Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform