Thanks Mike/Dennis,
The other 'IF' is making sure your logic is correct in the first place :-b I had changed my mind halfway through and it was 'backwards'. Up and running now. Jan -----Original Message----- From: "Mike Byerley" <[email protected]> To: [email protected] (RBASE-L Mailing List) Date: Thu, 20 Dec 2012 13:41:23 -0500 Subject: [RBASE-L] - Re: DB-Grid Enable columns What I notice is "IF" the dbgrid in question doesn't have FOCUS, you can't set the SelectedIndex of the grid and "IF" the button used is of the type, other than SpeedButton or the like, that can't recieve focus, then the clicking of that button removes focus from the dbGrid, so your EEP should have in it's first line property <CompIDofEnhancedGrid> Set_Focus 'TRUE' At least this is what I noticed on that issue, it might be the case with the ReadOnly setting... YMMV ----- Original Message ----- From: "jan johansen" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Thursday, December 20, 2012 12:54 PM Subject: [RBASE-L] - DB-Grid Enable columns : Anyone got a working sample of an Enhanced DB-Grid? : : I'm having trouble programatically setting focus to a column and setting a : column to read only.

