lnbSetTooltip: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
(formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|1. | |version1= 1.94 | ||
|gr1= GUI Control - ListNBox | |gr1= GUI Control - ListNBox | ||
| Sets tooltip on the item with the given row and column of | |descr= Sets tooltip on the item with the given row and column of [[CT_LISTNBOX]]. | ||
{{Feature | 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. }} | {{Feature|important|While it is possible to set tooltip on any column, only tooltip from the primary column (index: 0) is displayed for the whole row under cursor, which makes adding tooltips to columns other than 0 impractical.<br><br> | ||
This behaviour can be overwritte since {{GVI|arma3|2.02}} by setting the control's property {{ic|tooltipPerColumn}} to {{ic|[[true]]}}. See [[CT_LISTNBOX#tooltipPerColumn|CT_LISTNBOX documentation]].}} | |||
| [[lnbSetTooltip]] [idc, [row, column], text] | |s1= [[lnbSetTooltip]] [idc, [row, column], text] | ||
|p1 | |p1= idc: [[Number]] - Control's IDC | ||
| [[Nothing]] | |p2= row: [[Number]] - Row where the tooltip should be shown | ||
|p3= column: [[Number]] - Column where tooltip should be shown. By default it is set for every column, see description | |||
|p4= text: [[String]] - Tooltip text | |||
|r1= [[Nothing]] | |||
| s2= ctrl [[lnbSetTooltip]] [<nowiki/>[row, column], text] | | s2= ctrl [[lnbSetTooltip]] [<nowiki/>[row, column], text] | ||
|p21= ctrl: [[Control]] | |p21= ctrl: [[Control]] - Control | ||
|p22= | |||
|p23 | |p22= row: [[Number]] - Row where the tooltip should be shown | ||
|p23= column: [[Number]] - Column where tooltip should be shown. By default it is set for every column, see description | |||
| | |||
|p24= text: [[String]] - Tooltip text | |||
|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> | ||
|seealso= [[lbSetTooltip]], [[lnbSetData]], [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] | |seealso= [[lbSetTooltip]], [[lnbSetData]], [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] | ||
}} | }} | ||
Revision as of 10:07, 11 March 2021
Description
- Description:
- Sets tooltip on the item with the given row and column of CT_LISTNBOX.
- Groups:
- GUI Control - ListNBox
Syntax
- Syntax:
- lnbSetTooltip [idc, [row, column], text]
- Parameters:
- idc: Number - Control's IDC
- row: Number - Row where the tooltip should be shown
- column: Number - Column where tooltip should be shown. By default it is set for every column, see description
- text: String - Tooltip text
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- ctrl lnbSetTooltip [[row, column], text]
- Parameters:
- ctrl: Control - Control
- row: Number - Row where the tooltip should be shown
- column: Number - Column where tooltip should be shown. By default it is set for every column, see description
- text: String - Tooltip text
- 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