[Lazarus] does dbGrid's AutoSizeColumns method need to also be called in form's OnResize event?

Bob B. parkingspace26 at yahoo.com
Tue May 10 00:59:46 CEST 2016


Or is it sufficient to just include this in form's OnCreate or OnShow event?
with myDBGrid beginif not (dgautosizecolumns in options) then         options := options + [dgautosizecolumns];        AutoSizeColumns; end;
Thanks.
Bob B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160509/d5c6e1e9/attachment-0002.html>


More information about the Lazarus mailing list