Arma 3 Scripting

tvDelete

  • Local argument
  • Local effect
  • Arma 3 v0.74

Command · Markdown · JSON · original wiki page

Description

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; therefore, when deleting multiple entries, start with the one with the highest index and proceed in reverse order.

Syntax

Syntax 1

tvDelete [idc, path]

Parameters:

Returns: Nothing

Syntax 2

control tvDelete path

Parameters:

Returns: Nothing

Examples

Example 1

tvDelete [101, [0, 0]];

Example 2

_ctrl tvDelete [0, 0];

See also

tvAdd · tvClear · tvCollapse · tvCount · tvCurSel · tvData · tvExpand · tvPicture · tvSetCurSel · tvSetData · tvSetPicture · tvSetValue · tvSort · tvSortByValue · tvText · tvValue