Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DEFINE POPUP Question
Message
De
08/07/1999 17:59:15
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00239112
Message ID:
00239134
Vues:
17
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform