Author Topic: tree control  (Read 24 times)

Moshe-A

  • Member
  • *
  • Posts: 15
tree control
« on: January 18, 2021, 06:44:07 AM »
hi,

Double click on a collapsed item expand it (if it has child items of course) and re-double click on the same item collapse it - that's understood.
if i define the DblClicked event (let call it 'MyCustom') now there are 2 events. who is fires first and who last? cause from what i see
'MyCustom' is first cause if i want to leave the item (and his childs) expanded (with a call to ExpandItem) it endup collapsed - is there a workaround?

and about GetItemData \ SetItemData it get\ set a Long data. is it possible to store strings, lists?
(or i have to manage that on my own data list?)

thanks
Moshe