Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing Objects...IDEAS?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00167801
Message ID:
00168014
Vues:
35
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform