lnbAddColumn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(description)
m (note)
Line 38: Line 38:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
<dd class="notedate">Posted: Sep 9 2014</dd>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
<dd class="note">(A3 1.28) Horizontal coordinates of columns were added relative to list width, in range from 0 to 1. Unnecessary to reset width if column was already defined in hpp.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 11:12, 9 September 2014

Hover & click on the images for description

Description

Description:
Adds an column at given position. It returns the index of the newly added column.
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

Posted: Sep 9 2014
ffur2007slx2_5
(A3 1.28) Horizontal coordinates of columns were added relative to list width, in range from 0 to 1. Unnecessary to reset width if column was already defined in hpp.

Bottom Section