---
name: "lbSetTextRight"
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/lbSetTextRight
revid: 330115
updated: 2022-08-21T19:43:41Z
---

# lbSetTextRight

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

## Description

Sets the text on the right side of the item with the given row index of the listbox or combobox with id idc of the topmost user dialog.

## Syntax

```sqf
control lbSetTextRight [row, name]
```

**Parameters:**

- `control`: [Control](../topics/Control.md)
- `row`: [Number](../topics/Number.md) - 0-based index (first row is 0, second is 1, etc)
- `name`: [String](../topics/String.md)

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

## Examples

### Example 1

```sqf
_control lbSetTextRight [0, "iskoda"];
```

## See also

[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) · [lbSetColor](../commands/lbSetColor.md) · [lbSetCurSel](../commands/lbSetCurSel.md) · [lbSetData](../commands/lbSetData.md) · [lbSetSelected](../commands/lbSetSelected.md) · [lbSetText](../commands/lbSetText.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 — lbSetTextRight](https://community.bistudio.com/wiki/lbSetTextRight) (revision 330115).</sub>
