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:
00053698
Views:
26
>>>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?
>>
>>You can add a column either in Form Designer (Grid.ColumnCount=2) or in run-time (Grid.AddObject("ColumnX","Column)). You will have to adjust ColumnOrder properties to get right column order.
>
>You can also shift the column order by clicking on the header while in edit mode, and dragging.

Both methods work great. Thanks to Darren and Edward. Also, thanks to Stephen for the proactive tip to altering data items in a grid.

Thanks to all.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform