Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
First column of a grid to contain a check box
Message
De
12/11/1999 11:50:20
 
 
À
12/11/1999 11:17:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00290602
Message ID:
00290617
Vues:
23
Hi Denise,

>I would like the first column of my grid to contain a check box. Is that hard to do? How would I go about it? Thanks.

Not hard at all :-), programmaticlly:
thisform.grid1.addobject('Column1', 'Column')
thisform.grid1.column1.addobject('CB1', 'CheckBox')
Then set up a controlsource.

At designtime, give your grid a columncount greater than 0, select the column you want to add the Ceck to, then select the Check off the toolbar and drop it in the column.

Now its in there! You can keep the default TextBox as well and adjust the CurrentCOntrol Property, or you can remove it by selecting it form the object list in the property sheet and select click on the forms titlebar and press delete.

Does this make sense? :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform