tvSetTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
m (Text replacement - " *\| *[Aa]lternative [Pp]arameter [0-9]{1,3}= * " to " ")
Line 33: Line 33:
|p21= ctrl: [[Control]]
|p21= ctrl: [[Control]]


|p22= [path, text]: [[Array]] - |Alternative Parameter 22=
|p22= [path, text]: [[Array]] -


|p23= path: [[Array]] - Array containing path numbers.
|p23= path: [[Array]] - Array containing path numbers.

Revision as of 01:47, 19 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