lnbSetColumnsPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Some wiki formatting)
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2 |Game name=
|game1= arma2
|version1= 1.00


|1.00|Game version=
|game2= arma2oa
|version2= 1.50


|gr1= GUI Control - ListNBox |GROUP1=
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| Sets relative screen X for ListNBox control columns positions. Setter for [[lnbGetColumnsPosition]]. |DESCRIPTION=
|game4= arma3
____________________________________________________________________________________________
|version4= 0.50


| [[lnbSetColumnsPos]] [idc, positions] |SYNTAX=
|gr1= GUI Control - ListNBox


|p1= idc: [[Number]] - idc of the control |PARAMETER1=
|descr= Sets relative screen X for ListNBox control columns positions. Setter for [[lnbGetColumnsPosition]].


|p2= positions: [[Array]] - positions of the columns  |PARAMETER2=
|s1= [[lnbSetColumnsPos]] [idc, positions]


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


|s2= ctrl [[lnbSetColumnsPos]] positions |SYNTAX2=
|p2= positions: [[Array]] - positions of the columns


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


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


|r2= [[Nothing]] |RETURNVALUE2=
|p21= ctrl: [[Control]] - lnb control
___________________________________________________________________________________________


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


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


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


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


| |MPBEHAVIOUR=  
{{Note
____________________________________________________________________________________________
|user= ffur2007slx2_5
|timestamp= 20140909165200
|text= See: [[List Box#LISTNBOX]]
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on Sep 9 2014</dd>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
<dd class="note">See: [[List Box#LISTNBOX]]
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 01: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