---
name: "lbSetSelectColorRight"
type: command
status: ok
groups: ["GUI Control - ListBox"]
arma3_since: "1.46"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/lbSetSelectColorRight
revid: 379440
updated: 2026-10-31T00:06:48Z
---

# lbSetSelectColorRight

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

## Description

Sets the select color of the of the secondary text (right aligned) of the item with the given index of the listbox or combobox with id idc of the topmost user [dialog](../commands/dialog.md) to color.

## Syntax

### Syntax 1

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

**Parameters:**

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

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

### Syntax 2

```sqf
control lbSetSelectColorRight [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
lbSetSelectColorRight [101, 0, [0, 1, 0, 0.5]];
```

### Example 2

```sqf
_control lbSetSelectColorRight [0, [0, 1, 0, 0.5]];
```

## See also

[lbSetSelectColor](../commands/lbSetSelectColor.md) · [lbSetColor](../commands/lbSetColor.md) · [lbAdd](../commands/lbAdd.md) · [lbClear](../commands/lbClear.md) · [lbColor](../commands/lbColor.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) · [lbSetCurSel](../commands/lbSetCurSel.md) · [lbSetData](../commands/lbSetData.md) · [lbSetPicture](../commands/lbSetPicture.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)

## Community notes

**ffur2007slx2_5** — 2014-09-10

More information on the LB command family can be found here

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