tvSetData: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 36: | Line 36: | ||
|x2= <code>_ctrl [[tvSetData]] [<nowiki/>[0,0,0], "Test data"];</code> | |x2= <code>_ctrl [[tvSetData]] [<nowiki/>[0,0,0], "Test data"];</code> | ||
|seealso= [[tvAdd]] [[tvClear]] [[tvCollapse]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] | |seealso= [[tvAdd]] [[tvClear]] [[tvCollapse]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]], [[tvSetCurSel]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] | ||
}} | }} |
Revision as of 21:56, 20 January 2022
Description
- Description:
- Sets string data to item on given path. IDC means id of parent Tree View.
- Groups:
- GUI Control - Tree View
Syntax
- Syntax:
- tvSetData [idc, path, data]
- Parameters:
- idc: Number
- path: Array of Numbers
- data: String
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- ctrl tvSetData [path, data]
- Parameters:
- ctrl: Control
- path: Array of Numbers
- data: String
- Return Value:
- Nothing
Examples
Additional Information
- See also:
- tvAdd tvClear tvCollapse tvCount tvCurSel tvData tvDelete tvExpand tvPicturetvSetCurSeltvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue
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