lnbSize: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") | Lou Montana (talk | contribs)  m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) | ||
| Line 1: | Line 1: | ||
| {{Command | {{Command | ||
| | arma2  | | arma2 | ||
| |1.00 | |1.00 | ||
| |arg= local  | |arg= local | ||
| |eff= local  | |eff= local | ||
| |gr1= GUI Control - ListNBox  | |gr1= GUI Control - ListNBox | ||
| | Returns size of 2D listbox or combobox as [rows, columns].  | | Returns size of 2D listbox or combobox as [rows, columns]. | ||
| | [[lnbSize]] controlOrIDC | | [[lnbSize]] controlOrIDC | ||
| |p1= controlOrIDC: [[Control]] or [[Number]] - Control or control's IDC  | |p1= controlOrIDC: [[Control]] or [[Number]] - Control or control's IDC | ||
| | [[Array]] - in format [rows, columns]  | | [[Array]] - in format [rows, columns] | ||
| |x1= <code>[[lnbSize]] _control;</code> | |x1= <code>[[lnbSize]] _control;</code> | ||
| |x2= <code>[[lnbSize]] _someIDC;</code> | |x2= <code>[[lnbSize]] _someIDC;</code> | ||
| | [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbText]], [[lnbValue]]  | | [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbText]], [[lnbValue]] | ||
| }} | }} | ||
Revision as of 01:03, 18 January 2021
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
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
 
	