Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TexBox Valid and Command Button Click
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00681953
Message ID:
00681964
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
Pedro,

Try putting the following in the Base Class Valid method
if lastkey() = 27
	return .T.
endif

*-- Do any custom validation.
return This.Validation()
Don't forget to create a custom Validation method (or something similar) into which the individual valid code can be placed.
>Hi
>
>In my forms , when user is in TexBox , and now click in command button to cancel all changes , the VFP make the valid of textbox .
>
>I want Vfp don´t make Valid TextBox , when user click in command button .
>
>How can i do this ?
>
>Thanks
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform