tvTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(53 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________


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


|0.74|= Game Version
|arg= local


|arg= |= Multiplayer Arguments
|eff= local


|eff= |= Multiplayer Effects
|gr1= GUI Control - Tree View


|exec= |= Multiplayer Execution
|descr= Gets the tooltip text associated with the specified tree view path.
____________________________________________________________________________________________


| Gets the tooltip text associated with the specified tree view path. |DESCRIPTION=
|s1= [[tvTooltip]] [idc, path]
____________________________________________________________________________________________


| [[tvTooltip]] [idc, path] |SYNTAX=
|p1= idc: [[Number]] - IDC of the tree view control
|p1= [idc, path]: [[Array]]|PARAMETER2=
|p2= idc: [[Number]] - IDC of the tree view control. |PARAMETER2=


|p3= path: [[Array]] - Array containing path numbers. |PARAMETER3=
|p2= path: [[Array]] - array containing path numbers


| [[String]] - Tooltip text |RETURNVALUE=
|r1= [[String]] - tooltip text


|s2= ctrl [[tvTooltip]] path


<!-- START alternative syntax (optional) -->
|p21= ctrl: [[Control]]


|s2= ctrl [[tvTooltip]] path |= Alternative Syntax
|p22= path: [[Array]] - array containing path numbers


|p21= ctrl: [[Control]] |= Alternative Parameter 1
|r2= [[String]] - tooltip text


|p22= path: [[Array]] - Array containing path numbers. |= Alternative Parameter 2
|x1= <sqf>_text = tvTooltip [101, [0,2]];</sqf>


|r2= [[String]] - Tooltip text |= Alternative Return Value
|x2= <sqf>_text = _treeCtrl tvTooltip [0,2];</sqf>
 
____________________________________________________________________________________________
 
|x1= <code>_text = [[tvTooltip]] [101, [0,2]];</code> |EXAMPLE1=
____________________________________________________________________________________________
 
|x2= <code>_text = _treeCtrl [[tvTooltip]] [0,2];</code> |EXAMPLE2=
____________________________________________________________________________________________
 
|mp= - |= Multiplayer Behaviour
 
| [[tvSetTooltip]], [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |SEEALSO=


|seealso= [[tvSetTooltip]] [[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}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]

Latest revision as of 16:50, 8 November 2023

Hover & click on the images for description

Description

Description:
Gets the tooltip text associated with the specified tree view path.
Groups:
GUI Control - Tree View

Syntax

Syntax:
tvTooltip [idc, path]
Parameters:
idc: Number - IDC of the tree view control
path: Array - array containing path numbers
Return Value:
String - tooltip text

Alternative Syntax

Syntax:
ctrl tvTooltip path
Parameters:
ctrl: Control
path: Array - array containing path numbers
Return Value:
String - tooltip text

Examples

Example 1:
_text = tvTooltip [101, [0,2]];
Example 2:
_text = _treeCtrl tvTooltip [0,2];

Additional Information

See also:
tvSetTooltip 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