lbSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Return number of items of listbox or combobox with id idc of topmost user [[dialog]]. |= Description
| Return number of items of listbox or combobox with id idc of topmost user [[dialog]]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''lbSize''' idc |= Syntax
| '''lbSize''' idc |SYNTAX=
|p1= idc: [[Number]] |= Parameter 1
|p1= idc: [[Number]] |PARAMETER1=
| [[Number]] |= Return value
| [[Number]] |RETURNVALUE=


|s2= '''lbSize''' control |= Syntax
|s2= '''lbSize''' control |SYNTAX=
|p21= control: [[Control]] |= Parameter 1
|p21= control: [[Control]] |PARAMETER1=
|r2= [[Number]] |= Return value
|r2= [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_size = [[lbSize]] 101;</code> |= Example 1
|x1= <code>_size = [[lbSize]] 101;</code> |EXAMPLE1=


|x2= <code>_size = [[lbSize]] _control;</code> |= Example 2
|x2= <code>_size = [[lbSize]] _control;</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]] |= See also
| [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]] |SEEALSO=


}}
}}

Revision as of 14:42, 7 April 2019

Hover & click on the images for description

Description

Description:
Return number of items of listbox or combobox with id idc of topmost user dialog.
Groups:
Uncategorised

Syntax

Syntax:
lbSize idc
Parameters:
idc: Number
Return Value:
Number

Alternative Syntax

Syntax:
lbSize control
Parameters:
control: Control
Return Value:
Number

Examples

Example 1:
_size = lbSize 101;
Example 2:
_size = lbSize _control;

Additional Information

See also:
lbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetTooltiplbSetValuelbSortlbSortByValuelbTextlbValue

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

Notes

Posted: Sep 10 2014
ffur2007slx2_5
More information on the LB command family can be found here

Bottom Section