tvTooltip: 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 33: Line 33:


|r2= [[String]] - Tooltip text
|r2= [[String]] - Tooltip text


|x1= <code>_text = [[tvTooltip]] [101, [0,2]];</code>
|x1= <code>_text = [[tvTooltip]] [101, [0,2]];</code>

Revision as of 18:16, 18 January 2021

Hover & click on the images for description

Description

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

Syntax

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

Alternative Syntax

Syntax:
ctrl tvTooltip path
Parameters:
ctrl: Control
path: Array - Array containing path numbers.
Return Value:
String - Tooltip text

Examples

Example 1:
_text = tvTooltip [101, [0,2]];
Example 2:
_text = _treeCtrl tvTooltip [0,2];

Additional Information

See also:
tvSetTooltiptvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue

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