[Lazarus] Some thoughts about the global 'Application' instance.

Joost van der Sluis joost at cnoc.nl
Thu Jun 18 15:58:12 CEST 2009

En/na Graeme Geldenhuys ha escrit:
> Graeme Geldenhuys wrote:
>> Is there an option for the DBGrid to automatically resize its columns to
>> fit the data?
> Anybody know if TDBGrid can do this? If so, what properties need to be set?
> Here is a bug report regarding this issue. The report also contains two
> comparison images showing the difference: FlameRobin vs LazDataDesktop
> executing the exact same query and the default result data grid generated.

TRxDBGrid can do it, however (and obviously) it has to iterate through 
all the records to find the longest one.

BTW, I'm all for having all the nice options in TRxDbGrid in the 
standard TDBGrid (though I'm not sure the license allows to copy them 
verbatim), my suggestion is only if you want a solution *now*

Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133)  Fax +34 93 5883007

More information about the Lazarus mailing list