lnbSetText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (example)
(syntax & example)
Line 14: Line 14:
|p1= [idc,[row,column],data]: [[Array]]  |= PARAMETER1  
|p1= [idc,[row,column],data]: [[Array]]  |= PARAMETER1  


| Nothing |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE
____________________________________________________________________________________________
| s2= _ctrl [[lnbSetText]] [ [row,column],data] |= Syntax
 
| p21= _ctrl: [[Control]]  |= PARAMETER1
| p22= [ [row,column],data]: [[Array]]  |= PARAMETER2
 
| r2= [[Nothing]] |= RETURNVALUE  


____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[[lnbSetText]] [101, [0,1], "#1"];</code>|= Example 1
|x1= <code>[[lnbSetText]] [101, [0,1], "#1"];</code>|= Example 1
|x2= <code>_ctrl [[lnbSetText]] [ [0,1], "#1"];</code>|= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 30: Line 39:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
Alternative (arma style) syntax:<code>// _dspl of '''Display''' type, _idc of '''Number''' type
_ctrlTable = _dspl displayCtrl _idc;
_row = 0;
_col = 0;
_ctrlTable lnbSetText [[_row, _col], "text"];
</code>
[[User:DenV|DenV]]
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 14:26, 9 September 2014

Hover & click on the images for description

Description

Description:
Sets the additional text (invisible) in the item with the given position of the 2D listbox.
Groups:
Uncategorised

Syntax

Syntax:
lnbSetText [idc,[row,column],data]
Parameters:
[idc,[row,column],data]: Array
Return Value:
Nothing

Alternative Syntax

Syntax:
_ctrl lnbSetText [ [row,column],data]
Parameters:
_ctrl: Control
[ [row,column],data]: Array
Return Value:
Nothing

Examples

Example 1:
lnbSetText [101, [0,1], "#1"];
Example 2:
_ctrl lnbSetText [ [0,1], "#1"];

Additional Information

See also:
lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetValuelnbSizelnbTextlnbValue

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

Bottom Section