General information
Category:
Coding, syntax & commands
Hi Gerald,
PMFJI The valid event is normally used to do some sort of validation of the value of a control to prevent lost focus if a value that is entered if not valid. If the value is not valid (valid event returns .f.), it will force the user to enter a valid value before he can move on. You can however perform validation and pop up a message to the user from the valid event to let him know that the value is not valid and return .t. to allow it to move on to the next control. If you need to set focus to another control after the current control loses focus (whether valid or not) you can use the lost focus event and set focus to whatever control you want.
HTH
Previous
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