---
name: "lnbSetPictureRight"
type: command
status: ok
groups: ["GUI Control - ListNBox"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/lnbSetPictureRight
revid: 353377
updated: 2024-03-15T17:11:58Z
---

# lnbSetPictureRight

*Command · GUI Control - ListNBox · Arma 3 v1.00*

## Description

Sets the cell's right-picture. The picture is set to the end of the **row**, the *column* parameter does not matter.

> [!NOTE]
> The picture is searched in the mission, directory, the campaign directory's dtaExt subdirectory, and the data bank (or directory).

## Syntax

### Syntax 1

```sqf
lnbSetPictureRight [idc, [row, column], path]
```

**Parameters:**

- `idc`: [Number](../topics/Number.md)
- `row`: [Number](../topics/Number.md) - 0-based index (first row is 0, second is 1, etc)
- `column`: [Number](../topics/Number.md) - 0-based index (first column is 0, second is 1, etc)
- `path`: [String](../topics/String.md) - the picture's file path

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

### Syntax 2

```sqf
ctrl lnbSetPictureRight [[row, column], path]
```

**Parameters:**

- `ctrl`: [Control](../topics/Control.md)
- `row`: [Number](../topics/Number.md) - 0-based index (first row is 0, second is 1, etc)
- `column`: [Number](../topics/Number.md) - 0-based index (first column is 0, second is 1, etc)
- `path`: [String](../topics/String.md) - the picture's file path

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

## Examples

### Example 1

```sqf
lnbSetPictureRight [1, [0, 0], "Picture.paa"];
```

### Example 2

```sqf
_ctrl lnbSetPictureRight [[0, 0], "\A3\Ui_f\data\GUI\Cfg\Ranks\lieutenant_gs.paa"];
```

## See also

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

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