[Gambas-user] Expanded item of a treeview

Benoit Minisini gambas at ...1...
Wed Jun 16 19:49:35 CEST 2004


On Wednesday 16 June 2004 18:29, VBTricks.de.vu Webmaster wrote:
> How to retrieve the item which caused the Expand event of a treeview (I
> want to create the children-items dynamically and remove them again when
> the item is collapsed)?
>
> Stefan

That should be documented...

The internal cursor of the treeview (TreeView.Item) is set to the expanded 
item. Same thing of course for the Collapse event.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list