Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing Objects...IDEAS?
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00167801
Message ID:
00168014
Views:
29
Marcel,

Thanks for the response!

> No, you can't have a object without reference defined.

OK, I guess I thought it was possible because such a thing can be accomplished via DO FORM. But since I don't use DO FORM, I guess I am out of luck...

>But there is a automatic public forms collection.
>You don't need to create one.

Well, I know the Forms collection is there, but I still have to make an explicit public declaration for the form before using CREATEOBJECT(), or else the form disappears instantly. Are you saying there is a way I can just use the Forms collection as a reference like:

_SCREEN.Forms[1] = CREATEOBJECT('Form')

I hadn't thought of that! I figured the Forms collection was only readonly
...oops, I just tried that and it is read-only...how can I use the SCREEN.Forms collection to meet my own instantiation needs?

Joe Kaufman
jkaufman@encompas.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform