---
name: "tvSetTooltip"
type: command
status: ok
groups: ["GUI Control - Tree View"]
arma3_since: "0.74"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/tvSetTooltip
revid: 377817
updated: 2026-01-03T04:13:45Z
---

# tvSetTooltip

*Command · GUI Control - Tree View · Arma 3 v0.74*

Locality: arguments **local** · effect **local**

## Description

Sets the tooltip text associated with the specified tree view path.

## Syntax

### Syntax 1

```sqf
tvSetTooltip [idc, path, text]
```

**Parameters:**

- `idc`: [Number](../topics/Number.md) - IDC of the tree view control
- `path`: [Tree View Path](../topics/Tree_View_Path.md)
- `text`: [String](../topics/String.md)

**Returns:** [Nothing](../topics/Nothing.md)

### Syntax 2

```sqf
ctrl tvSetTooltip [path, text]
```

**Parameters:**

- `ctrl`: [Control](../topics/Control.md)
- `path`: [Tree View Path](../topics/Tree_View_Path.md)
- `text`: [String](../topics/String.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
tvSetTooltip [101, [0,2], "This is a tooltip"];
```

### Example 2

```sqf
_tree tvSetTooltip [[0,2], "This is a tooltip"];
```

## See also

[tvTooltip](../commands/tvTooltip.md) · [tvAdd](../commands/tvAdd.md) · [tvClear](../commands/tvClear.md) · [tvCollapse](../commands/tvCollapse.md) · [tvCount](../commands/tvCount.md) · [tvCurSel](../commands/tvCurSel.md) · [tvData](../commands/tvData.md) · [tvDelete](../commands/tvDelete.md) · [tvExpand](../commands/tvExpand.md) · [tvPicture](../commands/tvPicture.md) · [tvSetCurSel](../commands/tvSetCurSel.md) · [tvSetData](../commands/tvSetData.md) · [tvSetPicture](../commands/tvSetPicture.md) · [tvSetValue](../commands/tvSetValue.md) · [tvSort](../commands/tvSort.md) · [tvSortByValue](../commands/tvSortByValue.md) · [tvText](../commands/tvText.md) · [tvValue](../commands/tvValue.md)

<sub>Source: [BI Community Wiki — tvSetTooltip](https://community.bistudio.com/wiki/tvSetTooltip) (revision 377817).</sub>
