tvText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|0.74|Game version=
|0.74


|gr1= GUI Control - Tree View |GROUP1=
|gr1= GUI Control - Tree View


| Returns shown text in the item on given path. IDC means id of parent Tree View. |DESCRIPTION=
| Returns shown text in the item on given path. IDC means id of parent Tree View.


| [[tvText]] [idc, path] |SYNTAX=
| [[tvText]] [idc, path]


|p1= [idc, path]: [[Array]] |PARAMETER1=
|p1= [idc, path]: [[Array]]


|p2= idc: [[Number]] |PARAMETER2=
|p2= idc: [[Number]]


|p3= path: [[Array]] - Array containing numbers. |PARAMETER3=
|p3= path: [[Array]] - Array containing numbers.


| [[String]] |RETURNVALUE=
| [[String]]
| s2= control [[tvText]] path |SYNTAX2=
| s2= control [[tvText]] path


|p21= control: [[Control]] |PARAMETER21=  
|p21= control: [[Control]] |PARAMETER21=  
Line 24: Line 24:
| p22= path: [[Array]] of [[Number]] |PARAMETER22=  
| p22= path: [[Array]] of [[Number]] |PARAMETER22=  


| r2= [[String]] |RETURNVALUE2=
| r2= [[String]]


|x1= <code>[[tvText]] [101, [0]];</code> |EXAMPLE1=
|x1= <code>[[tvText]] [101, [0]];</code>


|x2= <code>_ctrl [[tvText]] [0,0,0];</code> |EXAMPLE2=
|x2= <code>_ctrl [[tvText]] [0,0,0];</code>


| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvValue]], [[tvSetText]] |SEEALSO=
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvValue]], [[tvSetText]]


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 11:24, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns shown text in the item on given path. IDC means id of parent Tree View.
Groups:
GUI Control - Tree View

Syntax

Syntax:
tvText [idc, path]
Parameters:
[idc, path]: Array
idc: Number
path: Array - Array containing numbers.
Return Value:
String

Alternative Syntax

Syntax:
control tvText path
Parameters:
control: Control
path: Array of Number
Return Value:
String

Examples

Example 1:
tvText [101, [0]];
Example 2:
_ctrl tvText [0,0,0];

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvValuetvSetText

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