tvSetTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Some wiki formatting)
 
(44 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game=
|game1= arma3
|version1= 0.74


|0.74|Game Version=
|arg= local
|eff= local


|arg=  |Multiplayer Arguments=
|gr1= GUI Control - Tree View


|eff=  |Multiplayer Effects=
|descr= Sets the tooltip text associated with the specified tree view path.


|serverExec= |= Multiplayer Execution
|s1= [[tvSetTooltip]] [idc, path, text]


|gr1= GUI Control |GROUP1=
|p1= idc: [[Number]] - IDC of the tree view control
____________________________________________________________________________________________


| Sets the tooltip text associated with the specified tree view path. |DESCRIPTION=
|p2= path: [[Array]] - array containing path numbers
____________________________________________________________________________________________


| [[tvSetTooltip]] [idc, path, text] |SYNTAX=
|p3= text: [[String]]


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


|p3= path: [[Array]] - Array containing path numbers. |PARAMETER3=
|s2= ctrl [[tvSetTooltip]] [path, text]


|p4= text: [[String]] |PARAMETER4=
|p21= ctrl: [[Control]]


| [[Nothing]] |RETURNVALUE=
|p22= path: [[Array]] - array containing path numbers


|p23= text: [[String]]


<!-- START alternative syntax (optional) -->
|r2= [[Nothing]]


|s2= ctrl [[tvSetTooltip]] [path, text] |Alternative Syntax=
|x1= <sqf>tvSetTooltip [101, [0,2], "This is a tooltip"];</sqf>


|p21= ctrl: [[Control]] |Alternative Parameter 1=
|x2= <sqf>_tree tvSetTooltip [[0,2], "This is a tooltip"];</sqf>
 
|p22= [path, text]: [[Array]] - |Alternative Parameter 22=
 
|p23= path: [[Array]] - Array containing path numbers. |Alternative Parameter 3=
 
|p24= text: [[String]] |Alternative Parameter 4=
 
|r2= [[Nothing]] |Alternative Return Value=
 
____________________________________________________________________________________________
 
|x1= <code>[[tvSetTooltip]] [101, [0,2], "This is a tooltip"];</code> |EXAMPLE1=
____________________________________________________________________________________________
 
|x2= <code>_tree [[tvSetTooltip]] [<nowiki/>[0,2], "This is a tooltip"];</code> |EXAMPLE2=
____________________________________________________________________________________________
 
| [[tvTooltip]], [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |SEEALSO=


|seealso= [[tvTooltip]] [[tvAdd]] [[tvClear]] [[tvCollapse]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]] [[tvSetCurSel]] [[tvSetData]] [[tvSetPicture]] [[tvSetValue]] [[tvSort]] [[tvSortByValue]] [[tvText]] [[tvValue]]
}}
}}
<dl class="command_description">
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 17:23, 15 August 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: 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: 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