tvTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(39 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


|arg= |Multiplayer Arguments=
|eff= local


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


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


|gr1= GUI Control - Tree View |GROUP1=
|s1= [[tvTooltip]] [idc, path]


| Gets the tooltip text associated with the specified tree view path. |DESCRIPTION=
|p1= idc: [[Number]] - IDC of the tree view control


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


|p3= path: [[Array]] - Array containing path numbers. |PARAMETER3=
|r1= [[String]] - tooltip text


| [[String]] - Tooltip text |RETURNVALUE=
|s2= ctrl [[tvTooltip]] path


|p21= ctrl: [[Control]]


<!-- START alternative syntax (optional) -->
|p22= path: [[Array]] - array containing path numbers


|s2= ctrl [[tvTooltip]] path |Alternative Syntax=
|r2= [[String]] - tooltip text


|p21= ctrl: [[Control]] |Alternative Parameter 1=
|x1= <sqf>_text = tvTooltip [101, [0,2]];</sqf>


|p22= path: [[Array]] - Array containing path numbers. |Alternative Parameter 2=
|x2= <sqf>_text = _treeCtrl tvTooltip [0,2];</sqf>
 
|r2= [[String]] - Tooltip text |Alternative Return Value=
 
 
|x1= <code>_text = [[tvTooltip]] [101, [0,2]];</code> |EXAMPLE1=
 
|x2= <code>_text = _treeCtrl [[tvTooltip]] [0,2];</code> |EXAMPLE2=
 
| [[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>
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 15: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