Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reference by NAME to object
Message
 
 
To
10/07/1998 01:21:12
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00116004
Message ID:
00116015
Views:
23
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
Previous
Reply
Map
View

Click here to load this message in the networking platform