lnbSetData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (undo)
m (example)
Line 26: Line 26:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code>|= Example 1
|x1= <code>_ctrl [[lnbSetData]] [ [0,0],"hi"];</code>|= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 10:08, 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:
lnbSetData [idc(Number) or Control,[row(Number),column(Number)],data(Anything)]
Parameters:
[idc(Number) or Control,[row(Number),column(Number)],data(Anything)]: Array
Return Value:
Nothing

Alternative Syntax

Syntax:
_ctrl lnbSetData [ [row(Number),column(Number)],data(Anything)]
Parameters:
_ctrl: Control
[ [row(Number),column(Number)],data(Anything)]: Array
Return Value:
Nothing

Examples

Example 1:
_ctrl lnbSetData [ [0,0],"hi"];

Additional Information

See also:
lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue

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