lnbSetTooltip: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.93 | |1.93 | ||
|gr1= GUI Control - ListNBox | |gr1= GUI Control - ListNBox | ||
| Sets tooltip on the item with the given row and column of the 2D listbox.<br><br> | | Sets tooltip on the item with the given row and column of the 2D listbox.<br><br> | ||
{{Important | While it is possible to set tooltip on any column, only tooltip from the primary column 0 is displayed for the whole row under cursor, which makes adding tooltips to columns other than 0 impractical. }} | {{Important | While it is possible to set tooltip on any column, only tooltip from the primary column 0 is displayed for the whole row under cursor, which makes adding tooltips to columns other than 0 impractical. }} | ||
| [[lnbSetTooltip]] [idc, [row, column], text] | | [[lnbSetTooltip]] [idc, [row, column], text] | ||
|p1= [idc, [row, column], text]: [[Array]] | |p1= [idc, [row, column], text]: [[Array]] | ||
|p2= idc: [[Number]] | |p2= idc: [[Number]] | ||
|p3= [row, column]: [[Array]] | |p3= [row, column]: [[Array]] | ||
|p4= row: [[Number]] | |p4= row: [[Number]] | ||
|p5= column: [[Number]] - pretty much always 0, see description note | |p5= column: [[Number]] - pretty much always 0, see description note | ||
|p6= text: [[String]] - tooltip to add | |p6= text: [[String]] - tooltip to add | ||
| [[Nothing]] | | [[Nothing]] | ||
| s2= ctrl [[lnbSetTooltip]] [<nowiki/>[row, column], text] | | s2= ctrl [[lnbSetTooltip]] [<nowiki/>[row, column], text] | ||
|p21= ctrl: [[Control]] |PARAMETER21= | |p21= ctrl: [[Control]] |PARAMETER21= | ||
Line 32: | Line 32: | ||
|p26= text: [[String]] - tooltip to add |PARAMETER26= | |p26= text: [[String]] - tooltip to add |PARAMETER26= | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|x1= <code>[[lnbSetTooltip]] [1234, [1,0], "tip"];</code> | |x1= <code>[[lnbSetTooltip]] [1234, [1,0], "tip"];</code> | ||
|x2= <code>_ctrl [[lnbSetTooltip]] [<nowiki/>[3,0], "top"];</code> | |x2= <code>_ctrl [[lnbSetTooltip]] [<nowiki/>[3,0], "top"];</code> | ||
| [[lbSetTooltip]], [[lnbSetData]], [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] | | [[lbSetTooltip]], [[lnbSetData]], [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:05, 18 January 2021
Description
- Description:
- Sets tooltip on the item with the given row and column of the 2D listbox.
- Groups:
- GUI Control - ListNBox
Syntax
- Syntax:
- lnbSetTooltip [idc, [row, column], text]
- Parameters:
- [idc, [row, column], text]: Array
- idc: Number
- [row, column]: Array
- row: Number
- column: Number - pretty much always 0, see description note
- text: String - tooltip to add
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- ctrl lnbSetTooltip [[row, column], text]
- Parameters:
- ctrl: Control
- [[row, column], text]: Array
- [row, column]: Array
- row: Number
- column: Number - pretty much always 0, see description note
- text: String - tooltip to add
- Return Value:
- Nothing
Examples
- Example 1:
lnbSetTooltip [1234, [1,0], "tip"];
- Example 2:
_ctrl lnbSetTooltip [[3,0], "top"];
Additional Information
- See also:
- lbSetTooltiplnbSetDatalnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue
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