If you set the 'DefColWidth' property of 'DBGRID' to 0, the control
automatically sizes all columns based on either the width of the column
heading or the Size property setting of the underlying field, whichever is
larger.
Greetings..
Darshan Desai
Tecnimont ICB Limited
Bombay, India.
darsha...@usa.net or
dar...@ticb.com
Ron Wickert wrote in message <365B374F...@worldnet.att.net>...
Yes, this is correct. However, for text/memo fields the data control
always reports the max. width (number of characters). Since it would be
ridiculous for the grid to set the width of a column to this value, the
grid just sets it to approx. 20 characters. True DBGrid Pro 6.0 will
autosize the width of a column when you double-click on a columns
header.
Lac