Recent

Author Topic: Listbox ShellTreeView [SOLVED]  (Read 4528 times)

Pe3s

  • Hero Member
  • *****
  • Posts: 547
Listbox ShellTreeView [SOLVED]
« on: August 23, 2024, 10:10:55 am »
Hello, is there a ShellTreeView component that would work with Listbox?
« Last Edit: August 25, 2024, 07:40:29 am by Pe3s »

Bart

  • Hero Member
  • *****
  • Posts: 5372
    • Bart en Mariska's Webstek
Re: Listbox ShellTreeView
« Reply #1 on: August 23, 2024, 03:24:41 pm »
I fail to see how that should work?
How can you represent a tree in a control that can only show multiple single-lines?

Bart

wp

  • Hero Member
  • *****
  • Posts: 12368
Re: Listbox ShellTreeView
« Reply #2 on: August 23, 2024, 03:41:56 pm »
I think he means to replace the ShellListView by a Listbox descendant to cooperate with the ShellTreeView in the same way.

No, IFAIK such a ShellTreeView does not exist; you probably can rewrite it on the basis of the standard TShellTreeView and replace the Listview variable by a Listbox; and the Listbox must be modified as well, similar to the ShellListView. But all this is a lot of work... Why don't you like the ShellListView next to the TreeView?

Aruna

  • Sr. Member
  • ****
  • Posts: 458
Re: Listbox ShellTreeView
« Reply #3 on: August 23, 2024, 04:16:36 pm »
Hello, is there a ShellTreeView component that would work with Listbox?
Hello, I’m not completely certain I understand your question fully, but I’ve attached a working example based on my interpretation of it. I hope this helps!
Debian GNU/Linux 11 (bullseye)
https://pascal.chat/

Pe3s

  • Hero Member
  • *****
  • Posts: 547
Re: Listbox ShellTreeView
« Reply #4 on: August 25, 2024, 07:40:15 am »
Thank you for your help  :)

 

TinyPortal © 2005-2018