Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding additional cursor fields to existing cursor grid
Message
From
13/01/2016 07:52:56
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01629747
Message ID:
01629751
Views:
39
>>>I have added an additional field to a cursor - how do I add that to my grid and how do I delete existing columns from grid
>>
>>To add a column, you use yourgrid.addcolumn. Big surprise! :-)
>>To delete one, you use DeleteColumn, or you simply set it's column width to 0.
>
>Where do I find yourgrid.addcolumn - if I right click on the grid I cant see it - I also want to insert a column into the grid (if it were not a cursor I would use builder but I cant see the cursor in the list of open tables
>
>Sorry - I am missing something obvious

When you doubleclick the grid, you get a code window. In the Procedure dropdown you select AddColumn.

To use the builder, create a table with the same name as the cursor (use another name for the cursor while you do this).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform