tvText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma3 | | arma3 | ||
|0.74 | |0.74 | ||
|gr1= GUI Control - Tree View | |gr1= GUI Control - Tree View | ||
| Returns shown text in the item on given path. IDC means id of parent Tree View. | | Returns shown text in the item on given path. IDC means id of parent Tree View. | ||
| [[tvText]] [idc, path] | | [[tvText]] [idc, path] | ||
|p1= [idc, path]: [[Array]] | |p1= [idc, path]: [[Array]] | ||
|p2= idc: [[Number]] | |p2= idc: [[Number]] | ||
|p3= path: [[Array]] - Array containing numbers. | |p3= path: [[Array]] - Array containing numbers. | ||
| [[String]] | | [[String]] | ||
| s2= control [[tvText]] path | | 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]] | | r2= [[String]] | ||
|x1= <code>[[tvText]] [101, [0]];</code> | |x1= <code>[[tvText]] [101, [0]];</code> | ||
|x2= <code>_ctrl [[tvText]] [0,0,0];</code> | |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]] | | [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvValue]], [[tvSetText]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:24, 18 January 2021
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
Examples
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