Text1 Object in Grid Column by Default Gives You More Control

ID: Q141526

3.00 3.00b WINDOWS kbtool

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, versions 3.0 and 3.0b

SUMMARY

The Text1 object is listed in a grid's column by default so that the user will have more control at the cell level in FoxPro's event model.

MORE INFORMATION

If the Text1 (text box) object control is removed from the grid's column, many of the properties and methods that were formerly available are no longer there. To see this, follow these steps:

1. Create a form, and add a table to the data environment. Then add a grid

   to the form.

2. Change the ColumnCount property of the grid to 2 or 3 so that individual
   columns are visible.

3. Select the Column1 object on the properties sheet. Then click the data
   tab, and delete the Text1 control from the CurrentControl property.

4. With Column1 as the selected object in the properties sheet, click the
   Methods tab and note the difference in the number of methods available
   versus the number of methods available with the Text1 object.

Additional reference words: 3.00 3.00b VFoxWin KBCategory: kbtool KBSubcategory: FxtoolFormdes
Keywords          : FxtoolFormdes 
Version           : 3.00 3.00b
Platform          : WINDOWS


Last Reviewed: December 21, 1995
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.