lnbSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2


|1.00
|version1= 1.00


|arg= local
|game2= arma2oa


|eff= local
|version2= 1.51
 
|game3= tkoh
 
|version3= 1.00
 
|game4= arma3
 
|version4= 0.50


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


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


| [[lnbSize]] controlOrIDC
|s1= [[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]
|r1= [[Array]] - in format [rows, columns]


|x1= <code>[[lnbSize]] _control;</code>
|x1= <code>[[lnbSize]] _control;</code>
Line 25: Line 33:
|seealso= [[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]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 13:34, 26 March 2021

Hover & click on the images for description

Description

Description:
Returns size of 2D listbox or combobox.
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