lnbSetTextRight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "<code>([^<]*)<nowiki\/?>([^<]*)<\/code>" to "<code>$1$2</code>")
Line 34: Line 34:
|x1= <sqf>lnbSetTextRight [1492, [1,0], "right text"];</sqf>
|x1= <sqf>lnbSetTextRight [1492, [1,0], "right text"];</sqf>


|x2= <code>ctrl lnbSetTextRight [<nowiki/>[0, 3], "right text"];</code>
|x2= <code>ctrl lnbSetTextRight [[0, 3], "right text"];</code>


|seealso= [[lnbTextRight]] [[lnbSetColorRight]] [[lnbColorRight]] [[lnbText]]
|seealso= [[lnbTextRight]] [[lnbSetColorRight]] [[lnbColorRight]] [[lnbText]]
}}
}}

Revision as of 10:28, 13 May 2022

{{RV|type=command

|game1= arma3 |version1= 1.00

|gr1= GUI Control - ListNBox

|descr= Sets cell's right-aligned text. Does not replace cell's text.

|s1= lnbSetTextRight [idc, [row, column], text]

|p1= idc: Number

|p2= row: Number - 0-based index (first row is 0, second is 1, etc)

|p3= column: Number - 0-based index (first column is 0, second is 1, etc)

|p4= text: String

|r1= Nothing

|s2= ctrl lnbSetTextRight [[row, column], text]

|p21= ctrl: Control

|p22= row: Number - 0-based index (first row is 0, second is 1, etc)

|p23= column: Number - 0-based index (first column is 0, second is 1, etc)

|p24= text: String

|r2= Nothing

|x1=

lnbSetTextRight [1492, [1,0], "right text"];

|x2= ctrl lnbSetTextRight [[0, 3], "right text"];

|seealso= lnbTextRight lnbSetColorRight lnbColorRight lnbText }}