Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form reference in run-time
Message
De
11/11/1998 01:49:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00155075
Message ID:
00156498
Vues:
27
> From where are you trying to reference the form? Is it in a menu. on a
> program, or from a method of some object inside the form itself?

I tried to reference a form from another form, for instance. Both forms are not in a same formset.
In another case I tried to reference a form from main menu.
I came to decision,that the variable, by which I reference a form, must be declared PUBLIC first.
Example -
PUBLIC myform && declaring
DO FORM anyform NAME myform && starting form
myform.caption='Bla-bla' && referencing form

Sergey
reware@cafe.redcom.ru
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform