Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return don't return
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00497693
Message ID:
00497757
Views:
14
in Validation method
if it is not valid return 0

eg
* TextBox.ValidationMethod()

If ( Validation Condition ) = .t.
    return 
endi
return 0
>Hi all,
>
>I'm trying to do a TextBox Class, in the TextBox Valid event i have
>
>
if lastkey() = 27
>	return .T.
>endif
>---Here i create my Validation Method
>return This.Validation()
>
>Now i put in the Form this TextBox and in Valid event dodefault(), and in the validation Method my code to validate, and return .t. if ok or return .f. if not, but if the validation fails it goes to the next TextBox, and don't return to the original, any lights here?
>
>Thank's
>
>João Batista
Regards
Hiten K M

( The best and the worst are yet to come .. keep coding ! )

My Resume >>
Previous
Reply
Map
View

Click here to load this message in the networking platform