lnbSize: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|game2= arma2oa |version2= 1.51 " to "|game2= arma2oa |version2= 1.50 ") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2") |
||
(23 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
|game1= arma2 | |game1= arma2 | ||
|version1= 1.00 | |version1= 1.00 | ||
|game2= arma2oa | |game2= arma2oa | ||
|version2= 1.50 | |version2= 1.50 | ||
|game3= tkoh | |game3= tkoh | ||
|version3= 1.00 | |version3= 1.00 | ||
|game4= arma3 | |game4= arma3 | ||
|version4= 0.50 | |version4= 0.50 | ||
|gr1= GUI Control - ListNBox | |gr1= GUI Control - ListNBox | ||
|descr= Returns size of | |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 | ||
|p1= controlOrIDC: [[Control]] or [[Number]] - | |p1= controlOrIDC: [[Control]] or [[Number]] - control or control's IDC | ||
|r1= [[Array]] - in format [rows, columns] | |r1= [[Array]] - in format [rows, columns] | ||
|x1= < | |x1= <sqf>lnbSize _control;</sqf> | ||
|x2= < | |x2= <sqf>lnbSize _someIDC;</sqf> | ||
|seealso= [[lnbAddArray]] | |seealso= [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbGetColumnsPosition]] [[lnbPicture]] [[lnbSetColor]] [[lnbSetColumnsPos]] [[lnbSetCurSelRow]] [[lnbSetData]] [[lnbSetPicture]] [[lnbSetText]] [[lnbSetValue]] [[lnbText]] [[lnbValue]] | ||
}} | }} |
Latest revision as of 14:00, 8 November 2023
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:
- lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbText lnbValue
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