Hi all,
how to programmaticaly autofit grid columns when columncount = -1 ?
vfp8

Re: Autofit Grid column by Trey

Trey
Wed May 19 08:59:03 CDT 2004

After the grid is loaded, simply call grid.AutoFit(), e.g.

** e.g., grid is grdTest

this.grdTest.RecordSource = "someCursor"
this.grdTest.AutoFit()

"Erlandas" <erlastoun@hotmail.com> wrote in message
news:u4pj0uZPEHA.3804@TK2MSFTNGP12.phx.gbl...
> Hi all,
> how to programmaticaly autofit grid columns when columncount = -1 ?
> vfp8
>
>