{"name":"lnbAddColumn","title":"lnbAddColumn","type":"command","url":"https://community.bistudio.com/wiki/lnbAddColumn","revid":378410,"updated":"2026-04-04T08:30:26Z","groups":["GUI Control - ListNBox"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","locality":{"argument":"local","effect":"local"},"description":"Adds a column at given position.","syntaxes":[{"syntax":"control lnbAddColumn position","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"position","type":"Number","description":"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","type_expr":"Number"}],"returns":{"type":"Number or Nothing","type_expr":"Number | Nothing","description":"returns the zero based index of the new column"},"form":"binary","left":{"text":"control"},"right":{"text":"position"}},{"syntax":"lnbAddColumn [controlOrIdc, position]","params":[{"name":"controlOrIdc","type":"Control or Number","description":"control or the idc of the control","type_expr":"Control | Number"},{"name":"position","type":"Number","description":"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","type_expr":"Number"}],"returns":{"type":"Number or Nothing","type_expr":"Number | Nothing","description":"returns the zero based index of the new column"},"form":"unary","right":{"text":"[controlOrIdc, position]"}}],"examples":[{"code":["_ctrl lnbAddColumn 0.8;"]},{"code":["lnbAddColumn [105, 0.8];"]}],"see_also":["lnbAddArray","lnbAddRow","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbSetColumnsPos"]}