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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only