---
name: "lbValue"
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/lbValue
revid: 379448
updated: 2026-10-31T00:07:52Z
---

# lbValue

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

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

## Description

Returns the additional integer value of the item with the given index of the [CT_LISTBOX](../topics/CT_LISTBOX.md) or [CT_COMBO](../topics/CT_COMBO.md).

## Syntax

### Syntax 1

```sqf
lbValue [idc, index]
```

**Parameters:**

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

**Returns:** [Number](../topics/Number.md) - only integers

### Syntax 2

```sqf
control lbValue index
```

**Parameters:**

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

**Returns:** [Number](../topics/Number.md) - only integers

## Examples

### Example 1

```sqf
_value = lbValue [101, 0];
```

### Example 2

```sqf
_value = _control lbValue 0;
```

## See also

[lbSetValue](../commands/lbSetValue.md) · [lbSortByValue](../commands/lbSortByValue.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 — lbValue](https://community.bistudio.com/wiki/lbValue) (revision 379448).</sub>
