Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding checkbox to a bound logical field in a grid
Message
From
08/10/2001 09:48:22
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
08/10/2001 09:43:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00565452
Message ID:
00565454
Views:
17
>I have a grid that is bound to some fields, one of them is a logical field that displays either a T or F, dependent upon the bound data.
>I am trying to find out if I can display a checkbox in place for the T or F, the box is checked if T and unchecked if F.
>Is this possible?
>
>>> Wes

Yes. The values can either be .T./.F., or 1/0.

In fact, in unbound checkboxes, I prefer change .Value = .F. (or .T.), since I usually find the resulting syntax more "logical" with logical values.

Just bind the CheckBox to the field through .ControlSource.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform