lnbSetTooltip: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (only column 0 is useful) |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 9: | Line 9: | ||
| 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 other | {{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. }}|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 18: | Line 18: | ||
|p3= [row, column]: [[Array]] |PARAMETER3= | |p3= [row, column]: [[Array]] |PARAMETER3= | ||
|p4= row: [[Number]] |PARAMETER4= | |p4= row: [[Number]] |PARAMETER4= | ||
|p5= column: [[Number]] |PARAMETER5= | |p5= column: [[Number]] - pretty much always 0, see description note |PARAMETER5= | ||
|p6= text: [[String]] - tooltip to add |PARAMETER6= | |p6= text: [[String]] - tooltip to add |PARAMETER6= | ||
Revision as of 14:23, 16 April 2019
Description
- Description:
- Sets tooltip on the item with the given row and column of the 2D listbox.
- Groups:
- Uncategorised
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
[[Category:Introduced with arma3dev version 1.93]][[ Category: arma3dev: New Scripting Commands | LNBSETTOOLTIP]][[ Category: arma3dev: Scripting Commands | LNBSETTOOLTIP]]