lnbTextRight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2")
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
|p1= idc: [[Number]]
|p1= idc: [[Number]]


|p2= row: [[Number]] - Index of the row
|p2= row: [[Number]] - index of the row


|p3= column: [[Number]] - Index of the column
|p3= column: [[Number]] - index of the column


|r1= [[String]]
|r1= [[String]]
Line 22: Line 22:
|p21= ctrl: [[Control]]
|p21= ctrl: [[Control]]


|p22= row: [[Number]] - Index of the row
|p22= row: [[Number]] - index of the row


|p23= column: [[Number]] - Index of the column
|p23= column: [[Number]] - index of the column


|r2= [[String]]
|r2= [[String]]


|x1= <code>_text = _control lnbTextRight [0, 0];</code>
|x1= <sqf>_text = _control lnbTextRight [0, 0];</sqf>


|seealso= [[lnbSetTextRight]]
|seealso= [[lnbSetTextRight]]
}}
}}

Latest revision as of 15:33, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns CT_LISTNBOX's right aligned cell text.
Groups:
GUI Control - ListNBox

Syntax

Syntax:
lnbTextRight [idc, [row, column]]
Parameters:
idc: Number
row: Number - index of the row
column: Number - index of the column
Return Value:
String

Alternative Syntax

Syntax:
ctrl lnbTextRight [row, column]
Parameters:
ctrl: Control
row: Number - index of the row
column: Number - index of the column
Return Value:
String

Examples

Example 1:
_text = _control lnbTextRight [0, 0];

Additional Information

See also:
lnbSetTextRight

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