Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing a Control On the Fly?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00064080
Message ID:
00064094
Views:
37
>I have a textbox that creates an image of itself on init. This new textbox is
>made invisible. Is there an easy way to set the new textbox properties to
>be the same as the original one?

I don't think so. This, BTW isn't subclassing: it's cloning. However, you
could put the code in your textbox subclass: there is a small number
of properties that is likely to change from time to time, so you could
loop through those alone, rather than all of them. Also, make sure your
textbox subclass has as many properties as possible set, so that you don't
have to set the same properties over and over in your forms....

HTH,
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform