Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox in a grid
Message
 
 
To
06/01/2014 14:36:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01591406
Message ID:
01591413
Views:
73
>>>Hi All:
>>>
>>>Sorry for asking this question, but how do I display a checkbox in a grid, when the underlying field is logical.
>>>
>>>Thanks,
>>>
>>>Yossi
>>
>>In the grid column insert a checkbox, delete the original textbox, set sparse property of the column to be false.
>
>Man, I feel stupid. How do you 'insert a checkbox' and 'delete the original textbox' (visually)?

Click on the grid, go into Properties sheet, select the column you want to insert the checkbox in (in the property sheet). Then click on the checkbox on the Form's Controls Toolbox and it will be inserted into that column.

Then being still in that column, select Text1 in the property sheet (in that column). Click on form's title and press Delete button. The textbox is going to be deleted and now you will see that your column has checkbox. Don't forget to set sparse = .f. for the column.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform