tvSetTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (template:command argument fix)
Line 13: Line 13:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the tooltip text associated with the specified tree view path. |= Description
| Sets the tooltip text associated with the specified tree view path. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[tvSetTooltip]] [idc, path, text] |= Syntax
| [[tvSetTooltip]] [idc, path, text] |SYNTAX=


|p1=[idc, path, text]: [[Array]] |= Parameter 1
|p1=[idc, path, text]: [[Array]] |PARAMETER1=
|p2= idc: [[Number]] - IDC of the tree view control. |= Parameter 2
|p2= idc: [[Number]] - IDC of the tree view control. |PARAMETER2=


|p3= path: [[Array]] - Array containing path numbers. |= Parameter 3
|p3= path: [[Array]] - Array containing path numbers. |PARAMETER3=


|p4= text: [[String]] |= Parameter 4
|p4= text: [[String]] |PARAMETER4=


| [[Nothing]] |= Return Value
| [[Nothing]] |RETURNVALUE=




Line 44: Line 44:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[[tvSetTooltip]] [101, [0,2], "This is a tooltip"];</code> |= Example 1
|x1= <code>[[tvSetTooltip]] [101, [0,2], "This is a tooltip"];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|mp= - |= Multiplayer Behaviour
|mp= - |= Multiplayer Behaviour


| [[tvTooltip]], [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= See Also
| [[tvTooltip]], [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |SEEALSO=


}}
}}

Revision as of 14:50, 7 April 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