lnbGetColumnsPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(35 intermediate revisions by the same user 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


|arg= local |Multiplayer Arguments=
|game3= tkoh
|version3= 1.00


|eff= local |Multiplayer Effects=
|game4= arma3
|version4= 0.50


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


| Returns relative screen X of ListNBox control columns position [0.1,0.3,0.6...]. Use [[lnbSetColumnsPos]] to set positions. |DESCRIPTION=
|eff= local


| [[lnbGetColumnsPosition]] _ctrl |SYNTAX=
|gr1= GUI Control - ListNBox


|p1= _ctrl: [[Control]] |PARAMETER1=
|descr= Returns relative screen X of ListNBox control columns position [0.1,0.3,0.6...]. Use [[lnbSetColumnsPos]] to set positions.


| [[Array]] |RETURNVALUE=
|s1= [[lnbGetColumnsPosition]] _ctrl


|p1= _ctrl: [[Control]]


|x1= <code>[[lnbGetColumnsPosition]] _ctrl;</code>|EXAMPLE1=
|r1= [[Array]]


| [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] |SEEALSO=  
|x1= <sqf>lnbGetColumnsPosition _ctrl;</sqf>


| |MPBEHAVIOUR=  
|seealso= [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbPicture]] [[lnbSetColor]] [[lnbSetColumnsPos]] [[lnbSetCurSelRow]] [[lnbSetData]] [[lnbSetPicture]] [[lnbSetText]] [[lnbSetValue]] [[lnbSize]] [[lnbText]] [[lnbValue]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14:16, 5 May 2022

Hover & click on the images for description

Description

Description:
Returns relative screen X of ListNBox control columns position [0.1,0.3,0.6...]. Use lnbSetColumnsPos to set positions.
Groups:
GUI Control - ListNBox

Syntax

Syntax:
lnbGetColumnsPosition _ctrl
Parameters:
_ctrl: Control
Return Value:
Array

Examples

Example 1:
lnbGetColumnsPosition _ctrl;

Additional Information

See also:
lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbPicture lnbSetColor lnbSetColumnsPos 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