TListView problems

Issue #207 resolved
Ivan Petrovic created an issue

Dear Eugene,

Current implementation of TListView (Report mode) has some major dissabilities.

  1. OnDblClick event is not fired
  2. OnChange event is not fired
  3. ItemFocused property is NIL
  4. MultiSelect:=True doesnt work (not able to select multiple items)
  5. Right click doesnt fire PopupMenu?

Is this possible to implement in near future or we should try with VirtualTree . Also where we can find modified VirtualTree with support for CrossVCL?

Comments (12)

  1. Harry Stahl

    I can comfirm, that multiselect does not work (no more than one Items selectable). And also Listview.items[x].selected is always false and listview.selcount gives always zero as result.

    Because the TListview is an important control with a lot of usefull functionality it would really be fine, if that could be fixed soon.

  2. Harry Stahl

    Thank your for fixing that. I’ve not testet all, because I have to take away first all of my work-arounds. But there is still a new issue: On MAC, High Retina, the popup-Window of the TreeView pops up as deeper to the bottom, as the List was scrolled. So clicking at the top is OK, but after scrolling down the list an popup will more to the bottom and is perhaps not visible. See attached Screenshot.

  3. Harry Stahl

    I found more issues with the TTreeview. If you call Treelist.items.clear once, after that the Treeview will show no more than one item

  4. Eugene Kryukov repo owner

    I found more issues with the TTreeview. If you call Treelist.items.clear once, after that the Treeview will show no more than one item

    I can’t reproduce in our TreeView example.

  5. Harry Stahl

    My Treeview is inside a TpageControl-Page. I read in a drive-tree and make some modifications, when folders are deleted and so on.

    Your demo worked insofar.

    But when you modify your demo and put the treeview into a TpageControl, then for example the deleting of an selected items has no visible effect (it stays more or less), but when you click then on the item you’ll have an access-violation.

    Attached you find your modified demo.

  6. Log in to comment