OnPopUpMenu_Result picture event


Declaration


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 %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 %HI_PopUpMenu_AddItem function.


ENTRY OnPopUpMenu_Result(IN  INT _id)
   IF _id = 221 THEN
     ; the item "Text 2.2.1" is selected
   ELSIF _id = .....
    ...
   ENDIF 
 END OnPopUpMenu_Result

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .