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 - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:
|p1= idc: [[Number]]
|p1= idc: [[Number]]


|p2= path: [[Array]] - Path
|p2= path: [[Array]] - path


|r1= [[String]] - Path to picture
|r1= [[String]] - path to picture


|s2= ctrl [[tvPictureRight]] path
|s2= ctrl [[tvPictureRight]] path
Line 20: Line 20:
|p21= ctrl: [[Control]]
|p21= ctrl: [[Control]]


|p22= path: [[Array]] - Path
|p22= path: [[Array]] - path


|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]]
}}
}}

Latest revision as of 15:45, 8 November 2023

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