Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding checkbox to a bound logical field in a grid
Message
De
08/10/2001 09:48:22
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
08/10/2001 09:43:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00565452
Message ID:
00565454
Vues:
18
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform