lbSetTextRight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Only 1 syntax exists. No idea when it was added)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofp |= Game name
|Arma 3|= Game name


|1.5|= Game version
|123.456|= Game version


|arg= local |= Arguments in MP
|eff= local |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 14: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''lbSetTextRight''' [idc, index, name] |= Syntax
|control '''lbSetTextRight''' [index, name] |= Syntax
|p1= [idc, index, name]: [[Array]] |= Parameter 1
|p1= control: [[Control]] |= Parameter 1
|p2= idc: [[Number]] of control |= Parameter 2
|p2= [index, name]: [[Array]] |= Parameter 2
|p3= index: [[Number]] |= Parameter 3
|p3= index: [[Number]] |= Parameter 3
|p4= name: [[String]] |= Parameter 4
|p4= name: [[String]] |= Parameter 4
| [[Nothing]] |= Return value
|[[Nothing]] |= Return value
 
|s2= control '''lbSetTextRight''' [index, name] |= Syntax
|p21= control: [[Control]] |= Parameter 1
|p22= [index, name]: [[Array]] |= Parameter 2
|p23= index: [[Number]] |= Parameter 3
|p24= name: [[String]] |= Parameter 4
|r2= [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[lbSetTextRight]] [101, 0, "iskoda"];</code> |= Example 1
|x1= <code>_control [[lbSetTextRight]] [0, "iskoda"];</code> |= Example 2
 
|x2= <code>_control [[lbSetTextRight]] [0, "iskoda"];</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 56: Line 44:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on December 1, 2018 - 01:05 (UTC)</dd>
<dt class="note">[[User:HazJ|HazJ]]</dt>
<dd class="note">
I can only get the 'Alternative Syntax' to work. Using the other syntax gives a missing magical ; error which is really odd.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 18:12, 1 December 2018

Hover & click on the images for description

Description

Description:
Sets the text on the right side of the item with the given index of the listbox or combobox with id idc of the topmost user dialog.
Groups:
Uncategorised

Syntax

Syntax:
control lbSetTextRight [index, name]
Parameters:
control: Control
[index, name]: Array
index: Number
name: String
Return Value:
Nothing

Examples

Example 1:
_control lbSetTextRight [0, "iskoda"];

Additional Information

See also:
lbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetSelectedlbSetTextlbSetTooltiplbSetValuelbSizelbSortlbSortByValuelbTextlbValuelbSetPicturelbSetPictureColor

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

Notes

Posted: Sep 10 2014
ffur2007slx2_5
More information on the LB command family can be found here

Bottom Section