>How do you set a breakpoint in a form (without inserting code)? I can add a breakpoint to a prg through the debugger, but how do you do the same for a form?
>
>The only way I've found to do it is to have a form method (called mySuspend which has the 2 lines of code "DEBUG, SUSPEND") and then set an ON KEY LABEL CTRL+Z _screen.ActiveForm.mySuspend. When I hit ^Z, this pauses my form, and the form context is loaded into the debugger. I can then set breakpoints and resume.
>
>Bob
The easiest way is to open the debugger, then the break point window. You can set a breakpoint when a method fires. For example, to break when MyForm.Init fires, just set MyForm.Init as the break point. No need to worry about line numbers or anything else.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer