Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference by NAME to object
Message
 
 
À
10/07/1998 01:21:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00116004
Message ID:
00116015
Vues:
22
Robert,

Where are you trying to reference the form from? The .Name property of the form doesn't have any association with the name of the object memvar that is the form object.

>My form NAME in propertis is "FFINANC".
>e.g thisform.pgfbase1.page2.Cmdbase2.enabled=.T.
>or
>thisform.forms(1).pgfbase1.page2.cmdbase2.enabled=.T.
>working properly, but
>
>ffinanc.pgfbase1.page2.cmdbase2.enabled=.T.
>return error: Object ffinanc is not found.
>
>When I run Debugger, I have object name "ffinanc".
>_screen.activeform.name return name "ffinanc"
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform