Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DEFINE POPUP Question
Message
From
08/07/1999 17:59:15
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00239112
Message ID:
00239134
Views:
15
>No no no - you misunderstood
>
>I already have the label class with the click event code
>already in place to define and display a popup shortcut menu.
>
>In the ON SELECTION you have to specifcy the command to run when
>a bar is selected. You can't do this:
>
>ON SELECTION Shortcuts This.SomeMethod()
>
>because 'This' doesnt exists at the time the bar is selected,
>so therefore you either have to use :
>
>ON SELECTION Shortcuts _Screen.ActiveForm.SomeMethod()
>
>or
>
>ON SELECTION Shortcuts oPublicObject.SomeMethod()
>
>
>What I would like to do is be able to direct VFP to
>run a method that I'v added to the label so that I dont
>have to use a public object or rely on _Screen.ActiveForm.
>
>Does this make sense what I'm trying to do?

I guess my next question would be what problems have you had with _screen.activeform?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform