I've been just calling the grid.AutoFit() method to optimize the grid columns, assuming that there isn't a huge text field being displayed. Would there be other downsides to calling that method?
-Kevin CULLY Technologies, LLC Tracy Pearson wrote: > No need to bind anything. > Put code to call a method in the resize event of the grid. In the method > handle the column resizing. When the grid's anchor property is set to allow > horizontal growth, changing the width of the parent container fires the > resize event which calls your method. > > Tracy > > -----Original Message----- > From: MB Software Solutions General Account > Sent: Thursday, March 12, 2009 10:09 AM > > So I'm just missing the code in the grid.Resize? Do you bind that to the > form resize with BINDEVENTS? > > That's exactly what I wanted it for---to drop the grid with the bottom when > the user resizes. > > > Tracy Pearson wrote: >> It's not totally useless for grids. You do need to add code in the >> resize event of a grid to account for the width changes. Each grid >> will be unique, but can be generic with a property holding the >> resizable columns. Vertical changes are a big plus to the user. >> >> -----Original Message----- >> From: MB Software Solutions General Account >> Sent: Wednesday, March 11, 2009 4:47 PM >> >> On Wed, March 11, 2009 3:18 pm, Richard Kaye wrote: >>> enhancements to TEXT...ENDTEXT anchors mo' better convergence of ANSI >>> SQL with VFP SQL intellisense in watch window >> >> The anchors feature sounds very cool, but I must admit that I've not >> yet tapped into that. You have, obviously? How many more folks took >> advantage of that I wonder? I was a bit disappointed that the anchor >> was useless for grids, iirc. > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

