Information générale
Catégorie:
Codage, syntaxe et commandes
Thank you, but the line
ON SELECTION POPUP myPopup DO myprg WITH BAR()
BAR( ) returns 0 if there is no active menu or if the user presses Esc to exit the menu. I dont want to change de sysmenu, is it possible
to have just the popup? and take a action with the value of BAR().
>Hi,
> Use Shortcut instead of popup and call it from RIGHTCLICK() event of the grid's textbox. For Example
>
> DEFINE POPUP mypopup SHORTCUT RELATIVE FROM MROW(),MCOL()
>
> DEFINE BAR 1 OF myPopup PROMPT "One"
> DEFINE BAR 2 OF myPopup PROMPT "Two"
>
> ON SELECTION POPUP myPopup DO myprg WITH BAR()
> ACTIVATE POPUP mypopup
> RELEASE POPUP myPopup
>
>Hope it helps
>
>Bye
>Jayesh
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement