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:
01296453
Views:
8
I did what you said and the messagebox never came up upon clicking on the CANCEL button. This is why I am so puzzled; it doesn't seem to be anything obvious. You can tell that I am clicking on it, yet nothing happens. In fact, the cursor seems to jump up to the first object on the form and that's where it sits. I think I need some good VFP old guy counseling.
MESSAGEBOX("I am Clicked!", 0, "Clicked")
SET STEP ON
WITH ThisForm
   .lEditing = .F.
   .Revert()
   .saveButton.Enabled = .F.
   .IsDeleted()
   .Disable_Page1()
   .lblModeStatus.Caption = "VIEW MODE"	&& Tells user what mode he is in.
   .Show_Specs()
   .CountRecs()
ENDWITH
This.Enabled = .F.
WITH ThisForm.cpageframe1
   IF .activepage=1
      .cPage1.newButton.Enabled = .T.
      .cPage1.grdCerts.SetFocus()
   ELSE
      .cPage2.ws1TextBox.SetFocus()
   ENDIF
ENDWITH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform