lnbSize: Difference between revisions
mNo edit summary  | 
				m (Text replacement - "|Game version=" to "|Game version=  |gr1= GUI Control |GROUP1=  ")  | 
				||
| Line 5: | Line 5: | ||
|1.00|Game version=  | |1.00|Game version=  | ||
|gr1= GUI Control |GROUP1=  | |||
|arg= local |Multiplayer Arguments=  | |arg= local |Multiplayer Arguments=  | ||
Revision as of 10:33, 18 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