Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top-level form properties from a child window
Message
 
To
09/10/2006 09:33:34
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01160521
Message ID:
01160538
Views:
7
Thanks Cetin, that did it.

Enmanuel

>>Hi all, I'm working with a top-level form as my main form and I'd like to know how can I get its properties from the child windows.
>>
>>So far I've tried:
>>
>>
>>_Screen.formname.property
>>Formname.property
>>
>>
>>but it didn't work.
>>
>>Thanks for your help in advance!
>
>You need a reference to that form, not _screen. You might save its reference to oApp custom public object. ie:
>
>do form myTopMain name oApp.mainform
>
>Then from anywhere in you app:
>
>oApp.mainform.Somepublicproperty is accesible.
>
>Cetin
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Previous
Reply
Map
View

Click here to load this message in the networking platform