Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking to see if command is being executed..
Message
From
16/06/1999 14:23:17
 
 
To
16/06/1999 14:09:38
Frank Cavone
Monetary Management of Ny, Inc.
Albany, New York, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00230549
Message ID:
00230554
Views:
23
Assuming that the command button has Cancel = .T.:

IF LastKey() = 27
RETURN .T. && Skip the validation
ENDIF

HTH

>i have a text box on a form that uses a valid event, if i simply want to exit the form without the box being validated i cannot quit the form until i put data in the text box that fulfills the valid event. i am using a command button that executes, thisform.release, on click event.
>i would like the fist line of code in the valid event procedure to check to see if this exit command has been clicked. if clicked the valid event would be bypassed.
>i know what i want it to do but i do not know the syntax, i tried the following code - if not thisform.exit - but does not work. can anyone help me with the syntax.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform