lnbSetData: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| arma2 \| *([0-9]\.[0-9]{2}) * " to " | arma2 |$1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 ") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2") |
||
(33 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|1.00 | |version1= 1.00 | ||
|game2= arma2oa | |game2= arma2oa | ||
Line 15: | Line 15: | ||
|gr1= GUI Control - ListNBox | |gr1= GUI Control - ListNBox | ||
| Sets the additional text (invisible) on the item with the given position of the 2D listbox. | |descr= Sets the additional text (invisible) on the item with the given position of the 2D listbox. | ||
| | |s1= [[lnbSetData]] [idc, [row, column], data] | ||
|p1= | |p1= idc: [[Number]] | ||
| [[ | |p2= row: [[Number]] | ||
| s2= ctrl [[lnbSetData]] [<nowiki/>[row, column], data] | |p3= column: [[Number]] | ||
|p4= data: [[String]] - the invisible text to add | |||
|r1= [[Nothing]] | |||
|s2= ctrl [[lnbSetData]] [<nowiki/>[row, column], data] | |||
|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]] | |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