tvSelection: Difference between revisions

From Bohemia Interactive Community
m (Some wiki formatting)
mNo edit summary
 
Line 12: Line 12:
|p1= control: [[Control]]
|p1= control: [[Control]]


|r1= [[Array]]
|r1= [[Tree View Path]]


|x1= <sqf>private _selection = tvSelection _ctrlTV;</sqf>
|x1= <sqf>private _selection = tvSelection _ctrlTV;</sqf>

Latest revision as of 06:45, 4 April 2026

Hover & click on the images for description

Description

Description:
Returns array of paths to selected items.
Groups:
GUI Control - Tree View

Syntax

Syntax:
tvSelection control
Parameters:
control: Control
Return Value:
Tree View Path

Examples

Example 1:
private _selection = tvSelection _ctrlTV;

Additional Information

See also:
tvSetSelected tvIsSelected

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note