The function %HI_PopUpMenu_Show shows the popup menu defined by previous callings of the functions %HI_PopUpMenu_Create and %HI_PopUpMenu_AddItem. Script execution goes on. So the function doesn't wait for an user's selection.
Note
When you try to show popup menu by using right mouse button in the event OnMouseDown, the popup menu of picture is preferred and this action will fail. You may avoid this by calling the function %HI_PicturePopUpMenuEnable with parameter @FALSE.
Pridať komentár