Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When event inconsistency?
Message
De
07/12/2005 15:42:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01075534
Message ID:
01075879
Vues:
14
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform