lnbSetTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| +(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) *=" to " |$1=")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
Line 9: Line 9:
{{Feature|important|By default, tooltips are added for all columns no matter what column index is provided. This behaviour can be overwritten since {{GVI|arma3|2.02}} by setting the control's property {{ic|tooltipPerColumn}} to {{ic|[[true]]}}. See [[CT_LISTNBOX#tooltipPerColumn|CT_LISTNBOX documentation]].}}
{{Feature|important|By default, tooltips are added for all columns no matter what column index is provided. This behaviour can be overwritten since {{GVI|arma3|2.02}} by setting the control's property {{ic|tooltipPerColumn}} to {{ic|[[true]]}}. See [[CT_LISTNBOX#tooltipPerColumn|CT_LISTNBOX documentation]].}}


|s1= [[lnbSetTooltip]] [idc, [row, column], text]
|s1= [[lnbSetTooltip]] [idc, [row, column], text]


|p1= idc: [[Number]] - Control's IDC
|p1= idc: [[Number]] - Control's IDC

Revision as of 23:21, 19 June 2021

Hover & click on the images for description

Description

Description:
Sets tooltip on the item with the given row and column of CT_LISTNBOX.
By default, tooltips are added for all columns no matter what column index is provided. This behaviour can be overwritten since Arma 3 logo black.png2.02 by setting the control's property tooltipPerColumn to true. See CT_LISTNBOX documentation.
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