Description
Sets new action into menu entry on given path.
Syntax
Syntax 1
menuSetAction [idc, path, action]
Parameters:
idc: Numberpath: Tree View Pathaction: String - expression that should be executed when entry is clicked
Returns: Nothing
Syntax 2
control menuSetAction [path, action]
Parameters:
control: Controlpath: Tree View Pathaction: String - expression that should be executed when entry is clicked
Returns: Nothing
Examples
Example 1
findDisplay 313 displayCtrl 120 menuSetAction [[0, 1], "systemChat 'Hello World!'"];