menuHover: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "$1$2</code>")
m (Some wiki formatting)
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]]
}}
}}

Revision as of 23:02, 7 August 2022

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