Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing objects
Message
From
10/04/2000 22:06:33
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00357655
Message ID:
00357791
Views:
17
Hi Bret, Tom,
You can also EVALUATE()
EVALUATE("ThisForm.pgfChoices.Page1." + m.ObjectName + ".Valid()")
which returns the result of Valid(), if relevant.


>>So I want to reference a page in a pageframe using a variable...
>>
>>I have:
>>name = my table.pagename
>>
>>thisform.pageframe1.?name?.caption = ''
>>
>>or something- How do I input the name in the field of my table into an object reference?
>>
>>Thanks
>>Tom Welch
>
>From my code, hope it helps you
>
>
>    lcCommand = 'ThisForm.C40pgGlobalQuery.PAGE'+ALLTRIM(THISFORM.cPageDodic)+'.SETFOCUS()'
>    &lcCommand
Charlie
Previous
Reply
Map
View

Click here to load this message in the networking platform