Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
You should add this as a new method to your textbox class. In the classes' valid, call the separate method. All textboxes will inherit. You can override if needed. You don't end up coding every one.
>Howdy and greetings all,
>
>I have the below listed code in my textbox Interactive Change box. My goal is to visibly place an error box around the textbox if an data entry error occurs, in think case, if it's empty. Would a better placement of this be in the Valid method?
>
>IF EMPTY(ALLTRIM(this.Value))
> This.parent.First_Name_Error_Shape.Visible = .T.
>ELSE
> This.parent.First_Name_Error_Shape.Visible = .F.
>ENDIF
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only