tvPictureRight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
(3 intermediate revisions by the same user not shown)
Line 24: Line 24:
|r2= [[String]] - Path to picture
|r2= [[String]] - Path to picture


|x1= <code>_path= _controlTV [[tvPictureRight]] [0, 0];</code>
|x1= <sqf>private _result = _controlTV tvPictureRight [0, 0];</sqf>


|seealso= [[tvSetPictureRight]] [[tvSetPicture]] [[tvPicture]]
|seealso= [[tvSetPictureRight]] [[tvSetPicture]] [[tvPicture]]
}}
}}

Revision as of 11:25, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns the right picture of a CT_TREE on given path.
Groups:
GUI Control - Tree View

Syntax

Syntax:
tvPictureRight [idc, path]
Parameters:
idc: Number
path: Array - Path
Return Value:
String - Path to picture

Alternative Syntax

Syntax:
ctrl tvPictureRight path
Parameters:
ctrl: Control
path: Array - Path
Return Value:
String - Path to picture

Examples

Example 1:
private _result = _controlTV tvPictureRight [0, 0];

Additional Information

See also:
tvSetPictureRight tvSetPicture tvPicture

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