Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

OnPopUpMenu_Result picture event


Declaration


Blok kódu
languageesl
themeConfluence
ENTRY OnPopUpMenu_Result(IN INT _id)
 ; script actions
 END OnPopUpMenu_Result


Parameters
_idUnique identifier of popup menu item.
Description
The picture event is being generated either when the user selects the item from selected popup menu - the parameter _id contains the unique identifier of the popup menu item (defined as the parameter id of the function %HI_PopUpMenu_AddItem function), or when the menu disappears with no selection - the parameter _id is equal to 0.
Example
Easy handler of item selection. The handler is a continuation of the example of the function %HI_PopUpMenu_AddItem function.
 



Blok kódu
languageesl
themeRDark
ENTRY OnPopUpMenu_Result(IN  INT _id)
   IF _id = 221 THEN
     ; the item "Text 2.2.1" is selected
   ELSIF _id = .....
Blok kódu
languageesl
themeRDark
    ...
   ENDIF 
 END OnPopUpMenu_Result

Info
titleRelated pages:

Picture event handler
Picture events