Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacing a grid in one class with another grid class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00101332
Message ID:
00101878
Views:
19
>I created a form class which encompasses some other classes and a grid. I've added some code to several of the grid events and have already created about 4 forms with this form class. Now I have a grid class which I'd like to use to replace the original grid on the class. It seems to have what I was doing and much more. This new grid class is also based on grid. Am I going to run into problems with my forms if I replace the grid which is in my class with this new grid?
>
>I haven't done anything yet because I don't want to get into trouble.
>
>Thanks for any info on this.
>
>Sylvia

Sylvia,

If the new grid class has everything the old ones had, you should be OK. I have done similar things in the past with no problems. You should make sure to give the new grid you are dropping on ur forms in lieu of the old grid the same name.

If you want to hedge your bets (and I do, all the time), back up the forms, change one or two and test the heck out of it. This way, if something radical goes wrong, you have not lost too much.

HTH,
Menachem Bazian, CPA
President
BC Consulting Services, Inc.
973-773-7276
Menachem@BazianCentral.com
Previous
Reply
Map
View

Click here to load this message in the networking platform