Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional execution of a Checkbox in a Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01365754
Message ID:
01367248
Vues:
13
This message has been marked as the solution to the initial question of the thread.
>>A checkbox in a grid (first one in the grid) if the Checkbox is checked I want to ask the user to confirm before un-cheking it and based on their response I should let them continue or stop them.
>>
>>I thought the place to do the check is in the when() of the checkbox but it is acting weird.
>>I know the grid has some problem but anyone know the best to do I wanted to do?
>>
>>Mo
>
>Try in the InteractiveChange
>
>IF NOT (this.value)
>   IF MESSAGEBOX([Do you want to uncheck?],4+32+256) = 7
>      this.value = .t.
>   ENDIF
>ENDIF
>
Thanks Vladmir
I got what I want with a combination of codes in the InteractiveChange() and Click()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform