lnbSetColumnsPos: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= GUI Control - ListNBox | |gr1= GUI Control - ListNBox | ||
| Sets relative screen X for ListNBox control columns positions. Setter for [[lnbGetColumnsPosition]]. | | Sets relative screen X for ListNBox control columns positions. Setter for [[lnbGetColumnsPosition]]. | ||
| [[lnbSetColumnsPos]] [idc, positions] | | [[lnbSetColumnsPos]] [idc, positions] | ||
|p1= idc: [[Number]] - idc of the control | |p1= idc: [[Number]] - idc of the control | ||
|p2= positions: [[Array]] - positions of the columns | |p2= positions: [[Array]] - positions of the columns | ||
| [[Nothing]] | | [[Nothing]] | ||
|s2= ctrl [[lnbSetColumnsPos]] positions | |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]] | |r2= [[Nothing]] | ||
|x1= <code>[[lnbSetColumnsPos]] [101, [0.1,0.5,0.7]];</code> | |x1= <code>[[lnbSetColumnsPos]] [101, [0.1,0.5,0.7]];</code> | ||
|x2= <code>_ctrl [[lnbSetColumnsPos]] [0.1,0.5,0.7];</code> | |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]] | | [[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 01:02, 18 January 2021
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