lnbSetColumnsPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


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


| Sets relative screen X for ListNBox control columns positions. Setter for [[lnbGetColumnsPosition]]. |DESCRIPTION=
| Sets relative screen X for ListNBox control columns positions. Setter for [[lnbGetColumnsPosition]].


| [[lnbSetColumnsPos]] [idc, positions] |SYNTAX=
| [[lnbSetColumnsPos]] [idc, positions]


|p1= idc: [[Number]] - idc of the control |PARAMETER1=
|p1= idc: [[Number]] - idc of the control


|p2= positions: [[Array]] - positions of the columns |PARAMETER2=
|p2= positions: [[Array]] - positions of the columns


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


|s2= ctrl [[lnbSetColumnsPos]] positions |SYNTAX2=
|s2= ctrl [[lnbSetColumnsPos]] positions


|p21= ctrl: [[Control]] - lnb control |PARAMETER21=
|p21= ctrl: [[Control]] - lnb control |PARAMETER21=
Line 23: Line 23:
|p22= positions: [[Array]] - positions of the columns |PARAMETER22=
|p22= positions: [[Array]] - positions of the columns |PARAMETER22=


|r2= [[Nothing]] |RETURNVALUE2=
|r2= [[Nothing]]




|x1= <code>[[lnbSetColumnsPos]] [101, [0.1,0.5,0.7]];</code> |EXAMPLE1=
|x1= <code>[[lnbSetColumnsPos]] [101, [0.1,0.5,0.7]];</code>


|x2= <code>_ctrl [[lnbSetColumnsPos]] [0.1,0.5,0.7];</code> |EXAMPLE2=
|x2= <code>_ctrl [[lnbSetColumnsPos]] [0.1,0.5,0.7];</code>




| [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] |SEEALSO=
| [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]]


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 02:02, 18 January 2021

Hover & click on the images for description

Description

Description:
Sets relative screen X for ListNBox control columns positions. Setter for lnbGetColumnsPosition.
Groups:
GUI Control - ListNBox

Syntax

Syntax:
lnbSetColumnsPos [idc, positions]
Parameters:
idc: Number - idc of the control
positions: Array - positions of the columns
Return Value:
Nothing

Alternative Syntax

Syntax:
ctrl lnbSetColumnsPos positions
Parameters:
ctrl: Control - lnb control
positions: Array - positions of the columns
Return Value:
Nothing

Examples

Example 1:
lnbSetColumnsPos [101, [0.1,0.5,0.7]];
Example 2:
_ctrl lnbSetColumnsPos [0.1,0.5,0.7];

Additional Information

See also:
lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue

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 on Sep 9 2014
ffur2007slx2_5
See: List Box#LISTNBOX

Bottom Section