Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I change class of an object?
Message
From
23/01/2008 12:15:17
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
23/01/2008 10:23:34
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01284315
Message ID:
01284560
Views:
16
>I don't want to redefine the class library in the VCX. I want to redefine the class library of an object on a form.

Then you need to hack the scx, or the vcx - wherever the form is. Find the object's record (edit for objname="{your object's .name property}", possibly also ..."and parent=..."), then write your own in the class and classloc memos (keep in mind that classloc requires a relative path, lowercase).

Or write a builder to replace one object with another.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform