Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check box in Grid with caption
Message
From
26/10/1999 12:15:22
 
 
To
26/10/1999 12:08:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00281552
Message ID:
00281561
Views:
12
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform