tvSetText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| ?r2=(.*)\|RETURNVALUE= *" to " |r2=(.*)|RETURNVALUE2=") |
Lou Montana (talk | contribs) m (Fix bad regex effects) Tag: Undo |
||
Line 7: | Line 7: | ||
|gr1= GUI Control |GROUP1= | |gr1= GUI Control |GROUP1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 16: | Line 14: | ||
| [[tvSetText]] [idc, path, text] |SYNTAX= | | [[tvSetText]] [idc, path, text] |SYNTAX= | ||
|p1= | |p1= idc: [[Number]] |PARAMETER1= | ||
|p2= | |p2= path: [[Array]] of [[Number]]s |PARAMETER2= | ||
|p3 | |p3= text: [[String]] |PARAMETER3= | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| s2= control [[tvSetText]] [path, text] |SYNTAX2= | | s2= control [[tvSetText]] [path, text] |SYNTAX2= | ||
|p21= control: [[Control]] | | |p21= control: [[Control]] |PARAMETER21= | ||
| p22= | |p22= path: [[Array]] of [[Number]]s |PARAMETER22= | ||
| | |p23= text: [[String]] |PARAMETER23= | ||
|r2= | |r2= [[Nothing]] |RETURNVALUE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[tvSetText]] [101, [0], "Test data"];</code> |EXAMPLE1= | |x1= <code>[[tvSetText]] [101, [0], "Test data"];</code> |EXAMPLE1= | ||
Line 51: | Line 46: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
Revision as of 21:44, 24 September 2020
Description
- Description:
- Sets string text to item on given path. IDC means id of parent Tree View.
- Groups:
- GUI Control
Syntax
- Syntax:
- tvSetText [idc, path, text]
- Parameters:
- idc: Number
- path: Array of Numbers
- text: String
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- control tvSetText [path, text]
- Parameters:
- control: Control
- path: Array of Numbers
- text: String
- Return Value:
- Nothing
Examples
Additional Information
- See also:
- tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue
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