lnbSetColumnsPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
m (Some wiki formatting)
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


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


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


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


|p1= idc: [[Number]] - idc of the control
|p1= idc: [[Number]] - idc of the control
Line 15: Line 23:
|p2= positions: [[Array]] - positions of the columns
|p2= positions: [[Array]] - positions of the columns


| [[Nothing]]
|r1= [[Nothing]]


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


|p21= ctrl: [[Control]] - lnb control |PARAMETER21=
|p21= ctrl: [[Control]] - lnb control


|p22= positions: [[Array]] - positions of the columns |PARAMETER22=
|p22= positions: [[Array]] - positions of the columns


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


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


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


| [[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]]
}}
}}


<dl class='command_description'>
{{Note
<!-- Note Section BEGIN -->
|user= ffur2007slx2_5
<dd class="notedate">Posted on Sep 9 2014</dd>
|timestamp= 20140909165200
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
|text= See: [[List Box#LISTNBOX]]
<dd class="note">See: [[List Box#LISTNBOX]]
}}
 
<!-- Note Section END -->
</dl>
 
 
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 00:12, 14 May 2023

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:
lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbText lnbValue

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
ffur2007slx2_5 - c
Posted on Sep 09, 2014 - 16:52 (UTC)
See: List Box#LISTNBOX