lnbGetColumnsPosition: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
mNo edit summary
 
Line 25: Line 25:
|p1= _ctrl: [[Control]]
|p1= _ctrl: [[Control]]


|r1= [[Array]]
|r1= [[Array]] of [[Number]]s


|x1= <sqf>lnbGetColumnsPosition _ctrl;</sqf>
|x1= <sqf>lnbGetColumnsPosition _ctrl;</sqf>

Latest revision as of 11:34, 1 January 2026

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 of Numbers

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.
Only post proven facts here! Add Note