menuSetPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (description)
Line 8: Line 8:
|gr1= GUI Control - Menu |GROUP1=
|gr1= GUI Control - Menu |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________
| Sets new picture into menu entry on given path. |DESCRIPTION=
| Sets new picture into menu entry on given path. The picture will be replaced by a tick if the entry was set to checkable with [[menuSetCheck]]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________
| [[menuSetPicture]] [idc, path, picture] |SYNTAX=
| [[menuSetPicture]] [idc, path, picture] |SYNTAX=

Revision as of 22:40, 14 October 2020

Hover & click on the images for description

Description

Description:
Sets new picture into menu entry on given path. The picture will be replaced by a tick if the entry was set to checkable with menuSetCheck.
Groups:
GUI Control - Menu

Syntax

Syntax:
menuSetPicture [idc, path, picture]
Parameters:
idc: Number
path: String
picture:String
Return Value:
Nothing

Alternative Syntax

Syntax:
control menuSetPicture [path, picture]
Parameters:
control: Control
path: Array
picture: String
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
menuEnablemenuExpandmenuCollapsemenuSetDatamenuSetValue‎menuSetCheckmenuSetActionmenuDeletemenuAdd‎menuHovermenuValuemenuURL‎menuTextmenuSort‎menuSizemenuEnabled‎menuCheckedmenuActionmenuShortcutTextmenuShortcutmenuPicturemenuDatamenuClear

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