Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CANCEL Button code never executes
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01296297
Message ID:
01296457
Views:
7
Skipped in late in this thread, so perhaps was already checked:
Assuming that perhaps code on the parent controls / form level seet a control.Readonly = .t. or Control.enabled = .f.
have you checked both properties in the debugger when form is active ? have you verified the control gets focus and when is left with a positive by logging ?

HTH

thomas

>Yes, I do click on the button, but it seems to be bypassed if there are no changes to the data; if there are changes and I want to cancel them, the button's click code works just fine. If there are no changes, and I click on the button, none of the code in the Click Event ever fires/executes.
>
>>>Yes, I did, but the code never stopped inside of the Cancel.click event even though I put a SET STEP ON command there.
>
>>It isn't clear from your original message. Are you clicking on this button? If not, how do you expect this code to be called?
>
>>Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform