Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check box in Grid with caption
Message
De
26/10/1999 12:15:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00281552
Message ID:
00281561
Vues:
13
>>I got a grid with 3 column the 3 one is a check box. What i want it's if the check box is check in want "Yes" as caption and "No" if it's not. I have put the sparse properti to .F. , if i change the caption in the click Method all the chexk box caption change.
>>
>>
>>Thanx.
>>
>>Ben.
>
>How bout an "Y" or an "N". You could accomplish this buy placing a "Y" in the input mask.

Another approach is to subclass a textbox so that its value is taken from an IIF() based on a logical field, and have the Click() method toggle the logical and reevaluate the content. More work than the Y/N solution, but it lets you click to toggle the value...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform