Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting grid column
Message
 
 
To
27/04/1999 19:56:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00212818
Message ID:
00212852
Views:
21
Jason,

Assuming you are in a method of the grid:

this.RemoveObject( "column1" ) && if you know the column name

or

this.DeleteColumn( 1 ) && if you know the index

There is no need to alter the column position or ColumnCount yourself.

>I am trying to delete a column on my grid, but have been unsuccesful. I see there is a property called: deletecolumn when I highlight my grid, in the property box, but I do not know the proper syntax to make my column vanish!
>
>Assuming the name of my grid is PRODUCT and the column I want to delete is column number 1, can someone show me the proper syntax to type in order to delete a column of a grid?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform