Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When event inconsistency?
Message
 
À
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:
01075886
Vues:
19
>>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.

Oh, I see now...
I guess eliminating the Valid event for CommandButton, Checkbox,... would make the design easier.
Doru
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform