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.
⚠
By default, tooltips are added for all columns no matter what column index is provided.
This behaviour can be overwritten 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:
CopylnbSetTooltip [1234, [1,0], "tip"];
- Example 2:
Copy_ctrl lnbSetTooltip [[3,0], "top"];
Additional Information
- See also:
- lbSetTooltip lnbSetData lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetPicture lnbSetText lnbSetValue lnbSize lnbText lnbValue
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