Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Method with ON SELECTION
Message
From
01/08/2001 05:31:40
 
 
To
01/08/2001 05:25:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00538201
Message ID:
00538204
Views:
12
This message has been marked as the solution to the initial question of the thread.
Hi!

Befre activating the popup and defining it, define the public variable that reference you form. Do not forget to clean up it before form close.

Youc an also use _Screen.ActiveForm, but it is buggy when form have ActiveX, and it reference only the current (focused) form.

Well, thisform reference or this.parent... works too, but only when you define popup and activate it in the same code snippet (in the same method).

HTH.

>Hi Eveybody,
>
>I have added a method to the form and I want to call this method with ON SELECTION POPUP command. How can I do this?
>
>Regards,
>
>Yash
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform