tvSetTooltip: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
Line 37: | Line 37: | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|x1= < | |x1= <sqf>tvSetTooltip [101, [0,2], "This is a tooltip"];</sqf> | ||
|x2= <code>_tree tvSetTooltip [<nowiki/>[0,2], "This is a tooltip"];</code> | |x2= <code>_tree tvSetTooltip [<nowiki/>[0,2], "This is a tooltip"];</code> |
Revision as of 10:25, 13 May 2022
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