---
name: "lbPicture"
type: command
status: ok
groups: ["GUI Control - ListBox"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/lbPicture
revid: 330125
updated: 2022-08-21T20:24:57Z
---

# lbPicture

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

## Description

Returns the picture name of the item with the given index of the listbox or combobox with id idc of the topmost user [dialog](../commands/dialog.md).

## Syntax

### Syntax 1

```sqf
lbPicture [idc, index]
```

**Parameters:**

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

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

### Syntax 2

```sqf
control lbPicture index
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
_picture = lbPicture [101, 0];
```

### Example 2

```sqf
_picture = _control lbPicture 0;
```

## See also

[lbSetPicture](../commands/lbSetPicture.md)

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