tvDelete: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 11: | Line 10: | ||
|eff= local |Multiplayer Effects= | |eff= local |Multiplayer Effects= | ||
| Removes an item with given [[Tree View Path]] from Tree View. | | Removes an item with given [[Tree View Path]] from Tree View. | ||
{{Important | The paths of other items on the same branch after delete operation are updated accordingly and may change. Therefore, when deleting multiple entries, start with the one with the highest index and proceed in reverse order.}} |DESCRIPTION= | {{Important | The paths of other items on the same branch after delete operation are updated accordingly and may change. Therefore, when deleting multiple entries, start with the one with the highest index and proceed in reverse order.}} |DESCRIPTION= | ||
| '''tvDelete''' [idc, path] |SYNTAX= | | '''tvDelete''' [idc, path] |SYNTAX= | ||
Line 26: | Line 23: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|s2= control [[tvDelete]] path |SYNTAX2= | |s2= control [[tvDelete]] path |SYNTAX2= | ||
Line 35: | Line 31: | ||
|r2= [[Nothing]] |RETURNVALUE2= | |r2= [[Nothing]] |RETURNVALUE2= | ||
|x1= <code>[[tvDelete]] [101, [0, 0]];</code> |EXAMPLE1= | |x1= <code>[[tvDelete]] [101, [0, 0]];</code> |EXAMPLE1= | ||
|x2= <code>_ctrl [[tvDelete]] [0, 0];</code> |EXAMPLE2= | |x2= <code>_ctrl [[tvDelete]] [0, 0];</code> |EXAMPLE2= | ||
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |SEEALSO= | | [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} |
Revision as of 03:58, 17 January 2021
Description
- Description:
- Removes an item with given Tree View Path from Tree View.
- Groups:
- GUI Control - Tree View
Syntax
- Syntax:
- tvDelete [idc, path]
- Parameters:
- [idc, path]: Array
- idc: Number
- path: Array - Tree View Path of the item
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- control tvDelete path
- Parameters:
- control: Control
- path: Array - Tree View Path of the item
- Return Value:
- Nothing
Examples
Additional Information
- See also:
- tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue
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