Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First column of a grid to contain a check box
Message
From
12/11/1999 11:50:20
 
 
To
12/11/1999 11:17:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00290602
Message ID:
00290617
Views:
22
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? :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform