---
name: "lnbText"
type: command
status: ok
groups: ["GUI Control - ListNBox"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/lnbText
revid: 330121
updated: 2022-08-21T19:54:50Z
---

# lnbText

*Command · GUI Control - ListNBox · Arma 3 v0.50 · introduced in Arma 2 v1.00*

Locality: arguments **local** · effect **local**

## Description

Returns the shown text in the item with the given position of the given 2D listbox.

## Syntax

```sqf
control lnbText [row, column]
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
_text = _ctrl lnbText [0,0];
```

## See also

[lnbAddArray](../commands/lnbAddArray.md) · [lnbAddColumn](../commands/lnbAddColumn.md) · [lnbAddRow](../commands/lnbAddRow.md) · [lnbClear](../commands/lnbClear.md) · [lnbColor](../commands/lnbColor.md) · [lnbCurSelRow](../commands/lnbCurSelRow.md) · [lnbData](../commands/lnbData.md) · [lnbDeleteColumn](../commands/lnbDeleteColumn.md) · [lnbDeleteRow](../commands/lnbDeleteRow.md) · [lnbGetColumnsPosition](../commands/lnbGetColumnsPosition.md) · [lnbPicture](../commands/lnbPicture.md) · [lnbSetColor](../commands/lnbSetColor.md) · [lnbSetColumnsPos](../commands/lnbSetColumnsPos.md) · [lnbSetCurSelRow](../commands/lnbSetCurSelRow.md) · [lnbSetData](../commands/lnbSetData.md) · [lnbSetPicture](../commands/lnbSetPicture.md) · [lnbSetText](../commands/lnbSetText.md) · [lnbSetValue](../commands/lnbSetValue.md) · [lnbSize](../commands/lnbSize.md) · [lnbValue](../commands/lnbValue.md)

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