ENTRY OnPopUpMenu_Result(IN INT _id)
; script actions
END OnPopUpMenu_Result
Parameters
_id
Unique 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 _idcontains the unique identifier of the popup menu item (defined as the parameter idof the function %HI_PopUpMenu_AddItemfunction), or when the menu disappears with no selection - the parameter _idis equal to 0.
Example
Easy handler of item selection. The handler is a continuation of the example of the function %HI_PopUpMenu_AddItemfunction.
Blok kódu
language
esl
theme
RDark
ENTRY OnPopUpMenu_Result(IN INT _id)
IF _id = 221 THEN
; the item "Text 2.2.1" is selected
ELSIF _id = .....