Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple Firings of Valid and When Events
Message
De
29/12/1997 14:56:23
 
 
À
29/12/1997 12:42:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00068242
Message ID:
00068306
Vues:
24
>>When using a Chechbox control, if the user double clicks the control, the Valid method fires twice. Once before the Double click and once after. I got around this by having the double click method change the control comment to "DC" then the first thing the Valid method does is check to see if the comment is "DC". If it is, the Valid method changes the comment to blank and returns else it does what ever. This seems a little clummsy. Do you have a better idea?
>
>
>I put one of these in the DblClick Event(), depending on what I want to happen
>
>chkBox.DblClick
>NODEFAULT
>RETURN
>
>or
>
>chkBox.DblClick
>NODEFAULT
>THIS.CLICK()

Great Answer,

Works like I need.
Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform