Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing class of derived controls
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00109968
Message ID:
00109971
Views:
21
>Hi all,
>
>I put a bunch of controls on a form derived from base_text class. I've changed my mind (what little there is left of it) and now want to base the controls on new_base_class. I cannot find an obvious way of batch changing the class of all base_text object to new_base_class. What am I missing?
>
>regards,

The forms, like classes are just .DBF type files. There are two fields that need to be udpated. CLASS and CLASSLOC. ALWAYS make a backup first...
use myform.scx
replace class with "New_Base_Textbox";  && (or whatever you really call it)
        classloc with "myclassdir\mybaseclass.vcx"; ( your class library is )
  for baseclass = "textbox"
The classlib must be relative to the directory where the form originates.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform