tvSetTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ | arma3 |= Game |0.74|= Game Version |arg= local |= Multiplayer Arg...")
 
(see also)
Line 6: Line 6:
|0.74|= Game Version
|0.74|= Game Version


|arg= local |= Multiplayer Arguments
|arg= |= Multiplayer Arguments


|eff= local |= Multiplayer Effects
|eff= |= Multiplayer Effects


|exec=  |= Multiplayer Execution
|exec=  |= Multiplayer Execution
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the tooltip 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: [[Number]] - IDC of the tree view control. |= Parameter 1
|p1=[idc, path, text]: [[Array]] |= Parameter 1
|p2= idc: [[Number]] - IDC of the tree view control. |= Parameter 2


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


|p3= text: [[String]] |= Parameter 3
|p4= text: [[String]] |= Parameter 4


| [[Nothing]] |= Return Value
| [[Nothing]] |= Return Value
Line 33: Line 34:
|p21= ctrl: [[Control]] |= Alternative Parameter 1
|p21= ctrl: [[Control]] |= Alternative Parameter 1


|p22= path: [[Array]] - Array containing path numbers. |= Alternative Parameter 2
|p22= [path, text]: [[Array]] - |= Alternative Parameter 2


|p23= text: [[String]] |= Alternative Parameter 3
|p23= path: [[Array]] - Array containing path numbers. |= Alternative Parameter 3
 
|p24= text: [[String]] |= Alternative Parameter 4


|r2= [[Nothing]] |= Alternative Return Value
|r2= [[Nothing]] |= Alternative Return Value
Line 49: Line 52:
|mp= - |= Multiplayer Behaviour
|mp= - |= Multiplayer Behaviour


| [[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]] |= See Also


}}
}}


<dl class="command_description">
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">'''[[User:User Name|User Name]]'''</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
</dl>



Revision as of 19:45, 16 June 2016

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