Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check-boxes not working correctly...
Message
De
23/06/1997 13:52:23
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00037451
Message ID:
00037465
Vues:
34
>>Has anyone besides myself every had checkboxes behave strangely.... they sometimes need to be clicked twice to toggle their state. Why does this happen?
>
>could it be once for checkbox to 'get focus', then once to check?

I just realized that this is happening because of my double click delay..DblClick is being triggered instead of Click...
To remedy this, I put:
this.Value = NOT this.Value

in my base checkbox class... I tried using NODEFAULT and/or RETURN .F., but it still toggled the value! The above line will make the checkbox behave as if it was clicked twice.
- Gino Miceli -
LAN Professionals Inc.
Bayshore, NY
gino@vdot.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform