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