gvrglife Member
Joined: 03 Dec 2003 Posts: 1
|
Posted: 03/12/03 06:21 Post subject: Select rows in DBCtrlGrid |
|
|
Hi,
i have a DBCtrlGrid and a DBCheckbox inside. Now what i need is to b able to disable some of the checkboxes in the ctrlgrid.
If for only one checbox then i used
dbctrlgrid.panelindex:=1;//ie second checkbox to disable
dbcheckbox.enabled:=false;
But if disabling 2 checkboxes only the last one is disabled:
dbctrlgrid.panelindex:=1;//ie second checkbox to disable
dbcheckbox.enabled:=false;
dbctrlgrid.panelindex:=2;//ie third checkbox to disable
dbcheckbox.enabled:=false;
//here only the third checkbox is disabled
Anyone has any idea to to disable both dbcheckboxes??
Thnx in advance
gvrglife |
|