---
name: "lnbAddColumn"
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/lnbAddColumn
revid: 378410
updated: 2026-04-04T08:30:26Z
---

# lnbAddColumn

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

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

## Description

Adds a column at given position.

## Syntax

### Syntax 1

```sqf
control lnbAddColumn position
```

**Parameters:**

- `control`: [Control](../topics/Control.md)
- `position`: [Number](../topics/Number.md) - position of the new column where 0 means all the way to the left and 1 all the way to the right of the control

**Returns:** [Number](../topics/Number.md) or [Nothing](../topics/Nothing.md) - returns the zero based index of the new column

### Syntax 2

```sqf
lnbAddColumn [controlOrIdc, position]
```

**Parameters:**

- `controlOrIdc`: [Control](../topics/Control.md) or [Number](../topics/Number.md) - control or the idc of the control
- `position`: [Number](../topics/Number.md) - position of the new column where 0 means all the way to the left and 1 all the way to the right of the control

**Returns:** [Number](../topics/Number.md) or [Nothing](../topics/Nothing.md) - returns the zero based index of the new column

## Examples

### Example 1

```sqf
_ctrl lnbAddColumn 0.8;
```

### Example 2

```sqf
lnbAddColumn [105, 0.8];
```

## See also

[lnbAddArray](../commands/lnbAddArray.md) · [lnbAddRow](../commands/lnbAddRow.md) · [lnbDeleteColumn](../commands/lnbDeleteColumn.md) · [lnbDeleteRow](../commands/lnbDeleteRow.md) · [lnbGetColumnsPosition](../commands/lnbGetColumnsPosition.md) · [lnbSetColumnsPos](../commands/lnbSetColumnsPos.md)

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