---
name: "lbClear"
type: command
status: ok
groups: ["GUI Control - ListBox"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/lbClear
revid: 379429
updated: 2026-10-31T00:05:21Z
---

# lbClear

*Command · GUI Control - ListBox · Arma 3 v0.50 · introduced in Operation Flashpoint v1.75*

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

## Description

Clear all items from a [CT_LISTBOX](../topics/CT_LISTBOX.md) or [CT_COMBO](../topics/CT_COMBO.md) control.

## Syntax

### Syntax 1

```sqf
lbClear idc
```

**Parameters:**

- `idc`: [Number](../topics/Number.md) - control IDC

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

### Syntax 2

```sqf
lbClear control
```

**Parameters:**

- `control`: [Control](../topics/Control.md)

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

## Examples

### Example 1

```sqf
lbClear 101;
```

### Example 2

```sqf
lbClear _ctrl;
```

## See also

[lbAdd](../commands/lbAdd.md) · [lbDelete](../commands/lbDelete.md)

## Community notes

**ffur2007slx2_5** — 2014-09-10

More information on the [CT_LISTBOX](../topics/CT_LISTBOX.md) command family can be found [here](../topics/CT_LISTBOX.md#scripting-example).

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