lnbSize: Difference between revisions
| m (Text replacement - "|=GROUP1" to "|GROUP1=") | m (Text replacement - "|gr1= GUI Control |GROUP1=    |arg= local |Multiplayer Arguments=  |eff= local |Multiplayer Effects=  |gr1= GUI Control |GROUP1=" to "|arg= local |Multiplayer Arguments=  |eff= local |Multiplayer Effects=  |gr1= GUI Control |GROUP1=") | ||
| Line 5: | Line 5: | ||
| |1.00|Game version= | |1.00|Game version= | ||
| |arg= local |Multiplayer Arguments= | |arg= local |Multiplayer Arguments= | ||
Revision as of 21:53, 24 September 2020
Description
- Description:
- Returns size of 2D listbox or combobox as [rows, columns].
- Groups:
- GUI Control
Syntax
- Syntax:
- lnbSize ctrl
- Parameters:
- ctrl: Control or Number - If this is a number it is considered an IDC as in the following code snippet lnbSize (<active display> displayCtrl <idc>)
- Return Value:
- Array - in format [rows, columns]
Examples
- Example 1:
- lnbSize _ctrl;//[8,2]
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
 
	