tvSetTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
m (Text replacement - " {3,}\|" to " |")
Line 40: Line 40:


|r2= [[Nothing]]
|r2= [[Nothing]]


|x1= <code>[[tvSetTooltip]] [101, [0,2], "This is a tooltip"];</code>
|x1= <code>[[tvSetTooltip]] [101, [0,2], "This is a tooltip"];</code>

Revision as of 19:13, 18 January 2021

Hover & click on the images for description

Description

Description:
Sets the tooltip text associated with the specified tree view path.
Groups:
GUI Control - Tree View

Syntax

Syntax:
tvSetTooltip [idc, path, text]
Parameters:
[idc, path, text]: Array
idc: Number - IDC of the tree view control.
path: Array - Array containing path numbers.
text: String
Return Value:
Nothing

Alternative Syntax

Syntax:
ctrl tvSetTooltip [path, text]
Parameters:
ctrl: Control
[path, text]: Array -
path: Array - Array containing path numbers.
text: String
Return Value:
Nothing

Examples

Example 1:
tvSetTooltip [101, [0,2], "This is a tooltip"];
Example 2:
_tree tvSetTooltip [[0,2], "This is a tooltip"];

Additional Information

See also:
tvTooltiptvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue

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