Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I add an object to a class at design time?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018288
Message ID:
01018296
Views:
15
Thanks Fred, but I've alredy done that. I'd like to avoid needing to define object references for each child.

I have an object A that has objects B and C added using ADDOBJECT in A's INIT() at runtime.

I'd like IntelliSense to have access to B's and C's Methods/Props at design-time without needing to define the individual child objects.

i.e.:
LOCAL A AS classA of classlib
A=NEWOBJECT("classA","classlib")

A.B.(IntelliSense drop-down)

instead of

LOCAL A AS classA of classlib
A=NEWOBJECT("classA","classlib")
LOCAL B AS classB of classlib
B=NEWOBJECT("classB","classlib")

B.(IntelliSense drop-down)

and then cut-and-paste to:

A.B.Bproperty
John MR Fitzgerald
Order Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform