Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox click - how to prevent changing the value?
Message
 
 
À
09/07/2010 12:19:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01471953
Message ID:
01472022
Vues:
43
>Maybe I don't understand the problem.
>
>You have a checkbox. When the user clicks the checkbox you want to execute a piece of code but you don't want the value of the checkbox to change.
>
>I tried this
>*Checkbox.When
>this.click()
>return .F.
>
>*Checkbox.Click
>messagebox("Checkbox Clicked")
>
>alternatively
>*Checkbox when
>messagebox("Checkbox Clicked")
>return .F.
>
>both displayed the messagebox without changing the value of the checkbox.

See my reply to Gregory Message ID: 1472014 to understand the problem. So far, nothing worked as I wanted it to.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform