Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Utility to change base classes?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00407862
Message ID:
00407907
Views:
14
>Hi,
>
>I'm sure I saw a post within the last few days where someone had written a utility that can change the base classes for multiple forms in a project...
>
>I'm not sure if it was here or on the VPM newwgroup...
>
>Anyone else remember that post?

If you just want to do a mass change in all forms, the code is quite simple. use ADIR() to get an array of all the SCX files. Loop through the array and open each SCX as a table. Replace the information in the Class and ClassLoc fields as needed. You may also need to adjust the Parent name as well, although doubtful. Of course you should work on copies of the SCX/SCT files until you perfect your code.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform