DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Select rows in DBCtrlGrid

 
   Reply to topic    DELPHI AREA Forum Index -> Delphi Programming
View previous topic :: View next topic  
Author Message
gvrglife
Member


Joined: 03 Dec 2003
Posts: 1

PostPosted: 03/12/03 06:21    Post subject: Select rows in DBCtrlGrid Reply with quote

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
Back to top
View user's profile
Display posts from previous:   
   Reply to topic    DELPHI AREA Forum Index -> Delphi Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group