lnbSetData: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2") |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 19: | Line 19: | ||
|s1= [[lnbSetData]] [idc, [row, column], data] | |s1= [[lnbSetData]] [idc, [row, column], data] | ||
|p1= | |p1= idc: [[Number]] | ||
|p2= | |||
|p3= | |p2= row: [[Number]] | ||
|p3= column: [[Number]] | |||
| | |||
|p4= data: [[String]] - the invisible text to add | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Line 31: | Line 32: | ||
|p21= ctrl: [[Control]] | |p21= ctrl: [[Control]] | ||
|p22= | |||
|p23= | |p22= row: [[Number]] | ||
|p23= column: [[Number]] | |||
| | |||
|p24= data: [[String]] - the invisible text to add | |||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|x1= < | |x1= <sqf>lnbSetData [123, [0,0],"#1"];</sqf> | ||
|x2= < | |||
|x2= <sqf>_ctrl lnbSetData [[0,0],"#1"];</sqf> | |||
|seealso= [[lnbSetTooltip]] [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbGetColumnsPosition]] [[lnbPicture]] | |seealso= [[lnbSetTooltip]] [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbGetColumnsPosition]] [[lnbPicture]] [[lnbSetColor]] [[lnbSetColumnsPos]] [[lnbSetCurSelRow]] [[lnbSetPicture]] [[lnbSetText]] [[lnbSetValue]] [[lnbSize]] [[lnbText]] [[lnbValue]] | ||
}} | }} |
Latest revision as of 15:50, 8 November 2023
Description
- Description:
- Sets the additional text (invisible) on the item with the given position of the 2D listbox.
- Groups:
- GUI Control - ListNBox
Syntax
- Syntax:
- lnbSetData [idc, [row, column], data]
- Parameters:
- idc: Number
- row: Number
- column: Number
- data: String - the invisible text to add
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- ctrl lnbSetData [[row, column], data]
- Parameters:
- ctrl: Control
- row: Number
- column: Number
- data: String - the invisible text to add
- Return Value:
- Nothing
Examples
- Example 1:
- lnbSetData [123, [0,0],"#1"];
- Example 2:
- _ctrl lnbSetData [[0,0],"#1"];
Additional Information
- See also:
- lnbSetTooltip lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetPicture lnbSetText lnbSetValue lnbSize lnbText lnbValue
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