Olá Paulo,
If by 'fix' you mean not to resize a dbgrid column, yes it is
possible.
Take a look at the grid's Options property and set dgColumnResize to
FALSE.
If that was not what you meant then define FIX.
[]s do amigo
Tulius Lima
Much easier and flexible (with thanks to the Borland TI docs):
Declare a type THack = class(TDBGrid). Then in run-time, do
THack(DBGrid1).FixedCols := 2.
Of course, you'd have to set it to 1 if you exclude dgIndicator from
the Options in the grid component.
This code fixes the first collumn
HTH, Eric
>Hi Friends,
>
>Can I fix a DBGrid Column?
>
>Regards,
>
>Paulo Jorge
>p...@nitnet.com.br
>
>
>
---------------------------------------------------------------
Eric Schokker,
Remove *NO-Spam* from Email address
E-mail: Eric.Schokker@*NO-Spam*ntu-beheer.nl
Cheers,
Paul.