Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LostFocus and Valid
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
LostFocus and Valid
Miscellaneous
Thread ID:
00510008
Message ID:
00510008
Views:
41
Hi All,

I have a container that contains a mover control inside. The container has a custom valid method that is called in the LostFocus event. All works well unless the control is the last control on the form before the save button then is fails. While in the move control click on the SAVE button, the LostFocus fires, isValid returns .T., but the save is not executed.

Is the work around for this problem?

LOSTFOCUS

IF This.IsValid
DODEFAULT()
ELSE
NODEFAULT
This.SetFocus()
ENDIF

TIA,

Bob
Next
Reply
Map
View

Click here to load this message in the networking platform