Glad to hear you've found a solution.
>Finaly I found some code in Solution samples Toolbars "Use new style toolbars"
>
>Tks again
>
>>This procedure calculates the row and column values of the lower left point of the commandbutton, and I am assuming that you want to show a shortcut context menu when user clicks on toolbar button. Or you want to show the context menu when user clicks on the empty spaces?
>>
>>
>>
>>
>>>Tks for your reply.
>>>Yes I can try it but I think it will not do the job there is some space around controls in a toolbar
>>>
>>>>I have a procedure that determines the ROW and COLUMN values to be used with DEFINE POPUP from a commandbutton, I have not used this procedure with toolbar's button. If you want to try it, I can post the procedure here for the benefits of other as well.
>>>>
>>>>
>>>>
>>>>>Hi All,
>>>>>
>>>>>I want to setup a context menu in a toolbar, but it seems the MROW() MCOL() and AMOUSEOBJ doesn't work in custom toolbars ?
>>>>>
>>>>>Tks
>>>>>Marcel
Précédent
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