Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Button.cancel and valid()
Message
 
 
To
23/10/1998 08:39:17
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00149787
Message ID:
00150005
Views:
28
Man,

You can move your validation out of the controls and into the field/table level of the database.

>Is there a way to tie the ESC key to the
>cancel button WITHOUT firing the valid()
>of individual controls?
>
>I can think of using the form.keypressed()
>method, or inserting extra codes ( checking
>lastkey()=27 ) into controls.valid() methods,
>but is there any neater solution?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform