Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to reference object on a form from another form?
Message
From
23/04/1998 18:07:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/04/1998 18:01:13
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00094514
Message ID:
00094518
Views:
20
>Can someone help with this?
>
>I have a form - 'main' and a second form called from this, 'password'. Password is not part of a formset, but an independent form. I want to reference objects in the calling form 'main' so as to disable object within main from password.
>
>What are the steps?
>
>Thank you in advance.
do form password with thisform && Pass thisform as a reference
*Passw init
lparameters oCaller
* A custom prop ie:whocalledme to hold ref
this.whocalledme = oCAller
* Any PEM of passw changing caller (main) any prop or calling EM
thisform.whocalledme.someproperty = somevalue
thisform.whocalledme.someeventmethod()
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform