Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax for form1.office1.value
Message
De
08/09/1997 15:59:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00049027
Message ID:
00049040
Vues:
57
>>>I am trying to evaluate the expression "form1.office1.value" but the error "Object form1 is not found" results. the form I created is subclassed but still is called 'Form1'.
>>
>>Try Thisform.office1.value
>>or (if it's not active form) _SCREEN.Forms(nIndex).office1.value
>
>I am referencing it from code in another form.
>Wondering why I cannot refer to it as 'form1' or whatever I choose to call it?
>I am not sure what _SCREEN.Forms(nIndex is as I've not used it

You can still use Form1.office1.value, if you initiated your form using:
DO Form Form1 Name Form1 LINKED
If you will be unsuccessful here, just make a look at 'Forms Property' article from Help to understand another way.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform