Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When event inconsistency?
Message
From
07/12/2005 15:42:12
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01075534
Message ID:
01075879
Views:
15
>Ok, so this makes my scenario consistent: for CommandButton, Checkbox,... Click always triggers Valid, which is always followed by a second When.
>What do you think, is this a bug, or is it a bad design choice caused by trying to fit Valid in the event list of CommandButton, Checkbox,... ?

A bad design.
Honestly, the whole design of the visual events of VFP is very inaccurate

>Do we need Valid for a CommandButton in VFP? BTW, I still don't understand what do you mean when you say that return .F. in Valid is ignored?
>

On a textbox RETURN .F. in Valid, stop the lostfocus process ( true 95% )
and RETURN someobject set the focus into someobject.
On a checkbox RETURN someobject work, but RETURN .F. doesn't.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform