lnbSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
No edit summary
Line 15: Line 15:
|gr1= GUI Control - ListNBox
|gr1= GUI Control - ListNBox


|descr= Returns size of 2D listbox or combobox.
|descr= Returns size of 2D listbox or combobox. This command supports [[CT_TOOLBOX]] control since Arma 3 v2.05.147760.


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

Revision as of 13:51, 12 June 2021

Hover & click on the images for description

Description

Description:
Returns size of 2D listbox or combobox. This command supports CT_TOOLBOX control since Arma 3 v2.05.147760.
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