lnbSize

From Bohemia Interactive Community
Revision as of 18:48, 16 November 2020 by R3vo (talk | contribs) (formatting)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns size of 2D listbox or combobox as [rows, columns].
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 _ctrl;//[8,2]
Example 2:
lnbSize (findDisplay _display displayCtrl 1337);

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