Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting a column in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00053426
Message ID:
00053499
Views:
22
>I have a one-to-many form with a grid on it. The user has now thought of 2 more pieces of related data that she would like to track in this grid. Is there an easy way of inserting a new column in a grid and have all existing columns and their PEM's shift over 1?

Colin,

As many others have done here, I've created a subclassed grid that has at it's start 25 columns. I doubt I'll ever display that. The grid has a method that fills an array of column info and then runs a method to construct the grid according to the array. The benefit here is that if a user requests an additional column to display, I simply add one line of code to add it's info to the array.

Steve
Previous
Reply
Map
View

Click here to load this message in the networking platform