tvCurSel: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 16: | Line 16: | ||
|p1= idc: [[Number]] | |p1= idc: [[Number]] | ||
|r1= | |r1= [[Tree View Path]] - selected item | ||
|s2= [[tvCurSel]] control | |s2= [[tvCurSel]] control | ||
| Line 22: | Line 22: | ||
|p21= control: [[Control]] | |p21= control: [[Control]] | ||
|r2= | |r2= [[Tree View Path]] - selected item | ||
|x1= <sqf>tvCurSel 101;</sqf> | |x1= <sqf>tvCurSel 101;</sqf> | ||
Latest revision as of 18:36, 2 April 2026
Description
- Description:
- Returns path to currently selected item. IDC means id of parent Tree View.
- Groups:
- GUI Control - Tree View
Syntax
- Syntax:
- tvCurSel idc
- Parameters:
- idc: Number
- Return Value:
- Tree View Path - selected item
Alternative Syntax
- Syntax:
- tvCurSel control
- Parameters:
- control: Control
- Return Value:
- Tree View Path - selected item
Examples
- Example 1:
- tvCurSel 101;
- Example 2:
- tvCurSel _ctrl;
Additional Information
- See also:
- tvAdd tvClear tvCollapse tvCount 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.
Only post proven facts here! Add Note