![]() |
|
#1
|
|||
|
|||
|
Hi,
I am using a table of which one of the fields is of type Boolean and I want to use a checkbox to manipulate the value of this field in a DBGrid. Can anybody explain to me how to get a checkbox inside a dbgrid please Regards You can e-mail me directly at: alouw@nwpg.gov.za Thanks |
|
#2
|
|||
|
|||
|
hi,
you have to create a regular dbgrid and then drop a regular checkbox nothing specific it is in the code that we make the changes in case you need the reference please check this out http://delphi.about.com/od/usedbvcl/l/aa082003a.htm regards, abhimanyu |
|
#3
|
|||
|
|||
|
Hi
check this http://delphi.about.com/od/usedbvcl/l/aa082003a.htm Accept As Answer if it helps Atul |
|
#4
|
|||
|
|||
|
Double click on the Grid and get the "Select Fields" dialog box.
Select the boolean field from the "Selected Fields" list that you want the Checkbox on Click the "Edit Control" tab on the right and set the "Control Type" to "CheckBox" The set the "Values when checked" to "True" and the "Values when unchecked" to "False" Hope this helps |
![]() |
| Thread Tools | |
| Display Modes | |
|
|