menuHover: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "‎" to "")
 
(15 intermediate revisions by the same user not shown)
Line 20: Line 20:
|r2= [[Array]]
|r2= [[Array]]


|x1= <Code>_path = [[menuHover]] ([[findDisplay]] 313 [[displayCtrl]] 120);</code>
|x1= <sqf>private _path = menuHover (findDisplay 313 displayCtrl 120);</sqf>


|seealso= [[menuEnable]] [[menuExpand]] [[menuCollapse]] [[menuSetData]] [[menuSetValue]] [[‎menuSetCheck]] [[menuSetAction]] [[menuDelete]] [[menuAdd]] [[menuValue]] [[menuURL]] [[‎menuText]] [[menuSort]], [[‎menuSize]], [[menuEnabled]], [[‎menuChecked]], [[menuAction]], [[menuShortcutText]], [[menuShortcut]], [[menuPicture]], [[menuData]], [[menuClear]], [[menuSetPicture]]
|seealso= [[menuEnable]] [[menuExpand]] [[menuCollapse]] [[menuSetData]] [[menuSetValue]] [[menuSetCheck]] [[menuSetAction]] [[menuDelete]] [[menuAdd]] [[menuValue]] [[menuURL]] [[menuText]] [[menuSort]] [[menuSize]] [[menuEnabled]] [[menuChecked]] [[menuAction]] [[menuShortcutText]] [[menuShortcut]] [[menuPicture]] [[menuData]] [[menuClear]] [[menuSetPicture]]
}}
}}

Latest revision as of 11:54, 26 April 2023

Hover & click on the images for description

Description

Description:
Returns path to menu entry mouse is currently hovering over.
Groups:
GUI Control - Menu

Syntax

Syntax:
menuHover idc
Parameters:
idc: Number
Return Value:
Array

Alternative Syntax

Syntax:
menuHover control
Parameters:
control: Control
Return Value:
Array

Examples

Example 1:
private _path = menuHover (findDisplay 313 displayCtrl 120);

Additional Information

See also:
menuEnable menuExpand menuCollapse menuSetData menuSetValue menuSetCheck menuSetAction menuDelete menuAdd menuValue menuURL menuText menuSort menuSize menuEnabled menuChecked menuAction menuShortcutText menuShortcut menuPicture menuData menuClear menuSetPicture

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note