lnbSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
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|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|arg= local |Multiplayer Arguments=
|arg= local


|eff= local |Multiplayer Effects=
|eff= local


|gr1= GUI Control - ListNBox |GROUP1=
|gr1= GUI Control - ListNBox


| Returns size of 2D listbox or combobox as [rows, columns]. |DESCRIPTION=
| Returns size of 2D listbox or combobox as [rows, columns].


| [[lnbSize]] controlOrIDC|SYNTAX=
| [[lnbSize]] controlOrIDC


|p1= controlOrIDC: [[Control]] or [[Number]] - Control or control's IDC |PARAMETER1=
|p1= controlOrIDC: [[Control]] or [[Number]] - Control or control's IDC


| [[Array]] - in format [rows, columns] |RETURNVALUE=
| [[Array]] - in format [rows, columns]


|x1= <code>[[lnbSize]] _control;</code>|EXAMPLE1=
|x1= <code>[[lnbSize]] _control;</code>


|x2= <code>[[lnbSize]] _someIDC;</code>|EXAMPLE2=
|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]] |SEEALSO=
| [[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

Hover & click on the images for description

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 _control;
Example 2:
lnbSize _someIDC;

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