---
name: "lbSetPictureRightColor"
type: command
status: ok
groups: ["GUI Control - ListBox"]
arma3_since: "1.22"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/lbSetPictureRightColor
revid: 377351
updated: 2026-01-02T06:40:13Z
---

# lbSetPictureRightColor

*Command · GUI Control - ListBox · Arma 3 v1.22*

## Description

Sets the color of the second (right aligned) picture of the given index of the listbox with id idc of the topmost user dialog to the given color.
Color which consists from only zeros means disable this override.

## Syntax

### Syntax 1

```sqf
lbSetPictureRightColor [idc, index, color]
```

**Parameters:**

- `idc`: [Number](../topics/Number.md) - control id
- `index`: [Number](../topics/Number.md)
- `color`: [Color (RGBA)](../topics/Color.md)

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

### Syntax 2

```sqf
control lbSetPictureRightColor [index, color]
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
lbSetPictureRightColor [101, 0, [0, 1, 0, 0.5]];
```

### Example 2

```sqf
_ctrl lbSetPictureRightColor [0, [1, 1, 1, 1]];
```

## See also

[lbAdd](../commands/lbAdd.md) · [lbClear](../commands/lbClear.md) · [lbColor](../commands/lbColor.md) · [lbSetPictureColorSelected](../commands/lbSetPictureColorSelected.md) · [lbCurSel](../commands/lbCurSel.md) · [lbData](../commands/lbData.md) · [lbDelete](../commands/lbDelete.md) · [lbIsSelected](../commands/lbIsSelected.md) · [lbPicture](../commands/lbPicture.md) · [lbSelection](../commands/lbSelection.md) · [lbSetColor](../commands/lbSetColor.md) · [lbSetCurSel](../commands/lbSetCurSel.md) · [lbSetData](../commands/lbSetData.md) · [lbSetSelected](../commands/lbSetSelected.md) · [lbSetTooltip](../commands/lbSetTooltip.md) · [lbSetValue](../commands/lbSetValue.md) · [lbSize](../commands/lbSize.md) · [lbSort](../commands/lbSort.md) · [lbSortByValue](../commands/lbSortByValue.md) · [lbText](../commands/lbText.md) · [lbValue](../commands/lbValue.md) · [lbSetPicture](../commands/lbSetPicture.md) · [lbSetPictureColor](../commands/lbSetPictureColor.md)

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