tvSetData: Difference between revisions
Jump to navigation
Jump to search
m (al & el) |
(syntax & example) |
||
Line 14: | Line 14: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[tvSetData]] [idc, [path], data] |= Syntax | ||
|p1= [idc, [path], text]: [[Array]] |= PARAMETER1 | |p1= [idc, [path], text]: [[Array]] |= PARAMETER1 | ||
Line 25: | Line 25: | ||
| [[Nothing]] |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE | ||
____________________________________________________________________________________________ | |||
| s2= _ctrl [[tvSetData]] [ [path], data] |= Syntax | |||
| p21= _ctrl: [[Control]] |= PARAMETER1 | |||
| p22= [ [path], data]: [[Array]] |= PARAMETER2 | |||
| r2= [[Nothing]] |= RETURNVALUE | |||
____________________________________________________________________________________________ | |||
|x1= <code>[[tvSetData]] [101, [0], "Test data"];</code> |= Example 1 | |x1= <code>[[tvSetData]] [101, [0], "Test data"];</code> |= Example 1 | ||
|x2= <code>_ctrl [[tvSetData]] [ [0,0,0], "Test data"];</code> |= Example 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 08:50, 11 September 2014
Description
- Description:
- Sets string data to item on given path. IDC means id of parent Tree View.
- Groups:
- Uncategorised
Syntax
- Syntax:
- tvSetData [idc, [path], data]
- Parameters:
- [idc, [path], text]: Array
- idc: Number
- [path]: Array - Array containing numbers.
- data: String
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- _ctrl tvSetData [ [path], data]
- Parameters:
- _ctrl: Control
- [ [path], data]: Array
- 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