tvSetTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Alternative Parameter 3 " to "|Alternative Parameter 3= ")
m (Text replacement - "|= Alternative Parameter 1 " to "|Alternative Parameter 1= ")
Line 32: Line 32:
|s2= ctrl [[tvSetTooltip]] [path, text] |Alternative Syntax=
|s2= ctrl [[tvSetTooltip]] [path, text] |Alternative Syntax=


|p21= ctrl: [[Control]] |= Alternative Parameter 1
|p21= ctrl: [[Control]] |Alternative Parameter 1=


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

Revision as of 19:43, 15 December 2019

Hover & click on the images for description

Description

Description:
Sets the tooltip text associated with the specified tree view path.
Multiplayer:
-
Groups:
Uncategorised

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

Bottom Section