From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Sets tooltip on the item with the given row and column of CT_LISTNBOX.
⚠
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.
This behaviour can be overwritte since
2.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
- 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