Text1 Object in Grid Column by Default Gives You More Control (141526)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft Visual FoxPro for Windows 3.0b

This article was previously published under Q141526

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.

Modification Type:MajorLast Reviewed:9/30/2003
Keywords:KB141526