Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling checkbox in my own class
Message
De
10/11/2011 13:30:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01528570
Message ID:
01528575
Vues:
74
>I am developing a Checkbox class. Among other things, I want to be able to control when the box gets checked, unchecked, or reset to null.
>
>Under the debugger, I can see that the state of the checkbox has already been modified by the time it reaches the checkbox Click and InteractiveChange events. However, The state has not been modified by the time we reach the GotFocus event.
>
>How can I override VFP's default handling of the checkbox control, and check, uncheck, or reset to .NULL. in my own code.

How about adding a custom property to track the current/previous state, so you can make informed decisions in Click?

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform