Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DEBUG, FIX hotkey?
Message
From
16/03/2006 12:07:41
 
 
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:
01104945
Views:
25
>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?

Mike,

I don't know how to find out the the debugger is the active window, with some api perhaps

this works
function Debugger_Activate()

	do case
	case !wexist('Trace')
		 acti window ('Trace')
	
	otherwise
		acti window ('Trace')
	
	endcase
endfunc
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform