Microsoft KB Archive/128528

= How to Create a Resizeable Grid =

Article ID: 128528

Article Last Modified on 2/12/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q128528



SUMMARY
This article shows by example how to create a resizeable grid.



MORE INFORMATION
 In the Form Design, drop a grid control onto a form, and place it in the upper-left corner of the form. The easiest way is to add a table to the data environment. Then drag and drop the table from the Data Environment window to the form.  Add the following code to the Resize Event method of the Form: thisform.grid1.height=this.height thisform.grid1.width=this.width   Add the following code to the Init Event method of the form: thisform.grid1.height=this.height thisform.grid1.width=this.width This sizes the grid to the form upon startup,  Run the form, and resize the window. The grid will automatically size to fit.

Additional query words: VFoxWin 3.00

Keywords: KB128528

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.