
Use this method to display a context menu. It is only useful in connection with the events of pushbuttons with type cntb_btype_dropdown and cntb_btype_menu .
CALL METHOD toolbar->track_context_menu
EXPORTING
context_menu = menu
posx = posx
posy = posy
EXCEPTIONS
ctmenu_error = 1.
|
Parameters |
Description |
|---|---|
|
context_menu |
Name of the context menu. You create the menu with reference to the class CL_CTMENU . You must use this class to fill it. |
|
posx |
Horizontal display position for the menu |
|
posy |
Vertical display position for the menu |