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:
01365760
Vues:
11
>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
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform