tvSetTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 37: Line 37:
|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>


|x2= <code>_tree [[tvSetTooltip]] [<nowiki/>[0,2], "This is a tooltip"];</code>
|x2= <code>_tree tvSetTooltip [<nowiki/>[0,2], "This is a tooltip"];</code>


|seealso= [[tvTooltip]] [[tvAdd]] [[tvClear]] [[tvCollapse]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]] [[tvSetCurSel]] [[tvSetData]] [[tvSetPicture]] [[tvSetValue]] [[tvSort]] [[tvSortByValue]] [[tvText]] [[tvValue]]
|seealso= [[tvTooltip]] [[tvAdd]] [[tvClear]] [[tvCollapse]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]] [[tvSetCurSel]] [[tvSetData]] [[tvSetPicture]] [[tvSetValue]] [[tvSort]] [[tvSortByValue]] [[tvText]] [[tvValue]]
}}
}}

Revision as of 12:17, 12 May 2022

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:
tvTooltip tvAdd tvClear tvCollapse tvCount tvCurSel tvData tvDelete tvExpand tvPicture tvSetCurSel tvSetData tvSetPicture tvSetValue tvSort tvSortByValue tvText tvValue

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