Hi, all !
There is a ttreeview object of arbitrary nesting. How to find out which level is currently open ?
tree level
- Antonio Linares
- Site Admin
- Posts: 42605
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 46 times
- Been thanked: 88 times
- Contact:
Re: tree level
oTree:GetSelected() --> oItem
oItem:Cargo // place here what you may need
Please review FWH\samples\classtre.prg, fiveres.prg
oItem:Cargo // place here what you may need
Please review FWH\samples\classtre.prg, fiveres.prg
Re: tree level
Natter wrote:Hi, all !
There is a ttreeview object of arbitrary nesting. How to find out which level is currently open ?
Hi,
You can use
nLevel := oItem:ItemLevel
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
- goosfancito
- Posts: 1956
- Joined: Fri Oct 07, 2005 7:08 pm
- Antonio Linares
- Site Admin
- Posts: 42605
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 46 times
- Been thanked: 88 times
- Contact: