lnbSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatting)
mNo edit summary
Line 19: Line 19:
| [[Array]] - in format [rows, columns] |RETURNVALUE=  
| [[Array]] - in format [rows, columns] |RETURNVALUE=  


|x1= <code>[[lnbSize]] _ctrl;//[8,2]</code>|EXAMPLE1=
|x1= <code>[[lnbSize]] _control;</code>|EXAMPLE1=


|x2= <code>[[lnbSize]] ([[findDisplay]] _display [[displayCtrl]] 1337);</code>|EXAMPLE2=
|x2= <code>[[lnbSize]] _someIDC;</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=  

Revision as of 17:49, 16 November 2020

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