lnbAddColumn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(syntax & example)
m (syntax)
Line 15: Line 15:
|p1= _ctrl: [[Control]]  |= PARAMETER1  
|p1= _ctrl: [[Control]]  |= PARAMETER1  
|p2= position: [[Number]]  |= PARAMETER2  
|p2= position: [[Number]]  |= PARAMETER2  
| [[Number]] |= RETURNVALUE  
| [[Number]] or [[nil]] |= RETURNVALUE  
____________________________________________________________________________________________
____________________________________________________________________________________________


| s2= [[lnbAddColumn]] [idc([[Number]]),position([[Number]])] |= Syntax
| s2= [[lnbAddColumn]] [idc([[Number]]) or [[Control]],position([[Number]])] |= Syntax


| p21= [idc([[Number]]),position([[Number]])]: [[Array]]  |= Parameter 1  
| p21= [idc([[Number]]) or [[Control]],position([[Number]])]: [[Array]]  |= Parameter 1  


| r2= [[Number]] |= Return value  
| r2= [[Number]] or [[nil]] |= Return value  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 08:55, 9 September 2014

Hover & click on the images for description

Description

Description:
Adds an item with the given text to the given listbox or combobox.
It returns the index of the newly added item.
Groups:
Uncategorised

Syntax

Syntax:
_ctrl lnbAddColumn position
Parameters:
_ctrl: Control
position: Number
Return Value:
Number or nil

Alternative Syntax

Syntax:
lnbAddColumn [idc(Number) or Control,position(Number)]
Parameters:
[idc(Number) or Control,position(Number)]: Array
Return Value:
Number or nil

Examples

Example 1:
_ctrl lnbAddColumn 0.8;
Example 2:
lnbAddColumn [105,0.8];

Additional Information

See also:
lnbAddArraylnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue

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

Bottom Section