lnbSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (description)
Line 15: Line 15:
|gr1= GUI Control - ListNBox
|gr1= GUI Control - ListNBox


|descr= Returns size of 2D listbox or combobox. This command supports [[CT_TOOLBOX]] control since Arma 3 v2.05.147760.
|descr= Returns size of [[CT_LISTNBOX]]. This command supports [[CT_TOOLBOX]] control since Arma 3 v2.06. For [[CT_COMBO]] or [[CT_LISTBOX]] see [[lbSize]].


|s1= [[lnbSize]] controlOrIDC
|s1= [[lnbSize]] controlOrIDC

Revision as of 09:23, 26 June 2021

Hover & click on the images for description

Description

Description:
Returns size of CT_LISTNBOX. This command supports CT_TOOLBOX control since Arma 3 v2.06. For CT_COMBO or CT_LISTBOX see lbSize.
Groups:
GUI Control - ListNBox

Syntax

Syntax:
lnbSize controlOrIDC
Parameters:
controlOrIDC: Control or Number - Control or control's IDC
Return Value:
Array - in format [rows, columns]

Examples

Example 1:
lnbSize _control;
Example 2:
lnbSize _someIDC;

Additional Information

See also:
lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbTextlnbValue

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note