lnbTextRight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2")
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma3
|game1= arma3
 
|version1= 1.00
|version1= 1.00


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


|descr= Returns [[CT_LISTNBOX]]'s right aligned cell text.
|descr= Returns [[CT_LISTNBOX]]'s right aligned cell text.


|s1= [[lnbTextRight]] [idc, [row, column]]
|s1= [[lnbTextRight]] [idc, [row, column]]
Line 13: 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 23: 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 16: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