menuHover: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr1= GUI Control |GROUP1=" to "|gr1= GUI Control - Menu |GROUP1=")
m (2nd syntax, example, see also)
Line 1: Line 1:
{{DoLater|See also isn't showing correctly}}
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________
 
|arma3 |= Game
|arma3 |= Game
|1.56|Game Version=
|1.56|Game Version=
|arg=  |Multiplayer Arguments=
|eff=  |Multiplayer Effects=


|gr1= GUI Control - Menu |GROUP1=
|gr1= GUI Control - Menu |GROUP1=
____________________________________________________________________________________________
 
| Returns path to menu entry mouse is currently hovering over. |DESCRIPTION=
| Returns path to menu entry mouse is currently hovering over. |DESCRIPTION=
____________________________________________________________________________________________
 
| [[menuHover]] idc |SYNTAX=
|s1= [[menuHover]] idc |SYNTAX=
 
|p1= idc: [[Number]] |PARAMETER1=
|p1= idc: [[Number]] |PARAMETER1=
|p2=  |PARAMETER2=
|p3=  |PARAMETER3=


| [[Array]] |RETURNVALUE=
|r1= [[Array]] - Path to entry |RETURNVALUE=
<!--
 
|s2= control |Alternative Syntax=
|s2= [[menuHover]] control |Alternative Syntax=
 
|p21= control: [[Control]] |Alternative Parameter 1=
|p21= control: [[Control]] |Alternative Parameter 1=
|p22=  |Alternative Parameter 2=
 
|p23=  |Alternative Parameter 3=
|r2= [[Array]] - Path to entry |RETURNVALUE2=
|r2= |Alternative Return Value=
 
-->
|x1= <code>_path = [[menuHover]] ([[findDisplay]] 313 [[displayCtrl]] 120);</code> |EXAMPLE1=
|x1= |EXAMPLE1=
 
| ‎[[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]] |SEEALSO=
}}
}}



Revision as of 22:22, 18 October 2020

Template:DoLater

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 - Path to entry

Alternative Syntax

Syntax:
menuHover control
Parameters:
control: Control
Return Value:
Array - Path to entry

Examples

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

Additional Information

See also:
See also needed

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

Bottom Section