Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TOOLBAR buttons don't get enabled
Message
From
20/10/2002 21:51:28
 
 
To
20/10/2002 21:34:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00713370
Message ID:
00713384
Views:
21
Hi João,

>I find it in a minute a go...some code for test purpose in activate method do this trouble.

Cool! Glad you found the problem.

>Thank's anyway for the response.

No problem.

>Another thing, i'm new to VFP, how can i trap things like that with debug?

Well, I don't know what the problem turned out to be, but the way I'd start with the debugging is to set a break point on the IF statement. If you use VFP 7.0, then you can just click in the left margin of the code window. If you're using 6.0 or earlier, you need to right click on the IF line of code and select set breakpoint.

Once the program breaks, check your assumptions. In this case, set a watch point on ".EditMode" (without the quotes) or just hold the mouse over the variable, and the tooltip will tell you what the value is. Then, chose step from the debugger toolbar or press F8, and see where the code branches to.
Previous
Reply
Map
View

Click here to load this message in the networking platform