lnbSize: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (formatting) |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 11: | Line 10: | ||
|gr1= GUI Control - ListNBox |GROUP1= | |gr1= GUI Control - ListNBox |GROUP1= | ||
| Returns size of 2D listbox or combobox as [rows, columns]. |DESCRIPTION= | | Returns size of 2D listbox or combobox as [rows, columns]. |DESCRIPTION= | ||
| [[lnbSize]] | | [[lnbSize]] controlOrIDC|SYNTAX= | ||
|p1= | |p1= controlOrIDC: [[Control]] or [[Number]] - Control or control's IDC |PARAMETER1= | ||
| [[Array]] - in format [rows, columns] |RETURNVALUE= | | [[Array]] - in format [rows, columns] |RETURNVALUE= | ||
|x1= <code>[[lnbSize]] _ctrl;//[8,2]</code>|EXAMPLE1= | |x1= <code>[[lnbSize]] _ctrl;//[8,2]</code>|EXAMPLE1= | ||
|x2= <code>[[lnbSize]] ([[findDisplay]] _display [[displayCtrl]] 1337);</code>|EXAMPLE2= | |||
| [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbText]], [[lnbValue]] |SEEALSO= | | [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbText]], [[lnbValue]] |SEEALSO= | ||
}} | }} | ||
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] |
Revision as of 17:48, 16 November 2020
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