If you have the upgraded Apex TDBGrid then
TDBGrid1.Columns(0).AllowFocus = False
Unfortunately this does not work with the cut down version that comes with
VB
Peter
pe...@surcouf.co.uk
using
Office97sp1,VB5.0sp3,SQL6.5sp3,Win95,NT4.0ws,NT4.0sp3Server
Alastair Cameron <alastair.came...@cableinet.co.uk> wrote in article
<6pl2qc$f...@spurs.cableinet.net>...
> Hi.
> I'm using a DB grid (in unbound mode) with 3 columns. The user can enter
> data into column two and three (but not column one).
> In the first column, I'm displaying values as a prompt to the user. I
have
> LOCKED the column to stop entry, but would really like to stop the user
> clicking/tabbing/returning into the first column.
> Can anybody suggest ways of doing this with DBGRID (unbound, if that
makes
> any difference!).
> Thanks.
> --
> Alastair Cameron
> alastair.came...@cableinet.co.uk