Recent

Author Topic: TreeListCtrl like process window of processexplorer ?  (Read 1748 times)

marunguy

  • New Member
  • *
  • Posts: 23
TreeListCtrl like process window of processexplorer ?
« on: September 15, 2014, 08:19:11 am »
Hello!

I am looking at TreeListCtrl like process window of processexplorer.
http://technet.microsoft.com/en-us/sysinternals/bb896653

When process column of header is clicked, process column is change from ListCtrl to TreeCtrl or vice versa.
Other column is ListrCtrl always.

Does this compoment for lazarus exist?

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: TreeListCtrl like process window of processexplorer ?
« Reply #1 on: September 15, 2014, 08:40:06 am »
Hello!

I am looking at TreeListCtrl like process window of processexplorer.
http://technet.microsoft.com/en-us/sysinternals/bb896653

When process column of header is clicked, process column is change from ListCtrl to TreeCtrl or vice versa.
Other column is ListrCtrl always.

Does this compoment for lazarus exist?


Sorry I do not quit understand what you mean by changing from listctrl to treectrl on click. The click by it self will focus the appropriate control the only thing you have to write is the sync scrolling between the two unless when you say the listbox you mean the list box bellow the list with the processes that shows the open handles/dlls in which case an onchage handler will do the job.

If you want to simulate the hierarchical grid view on the top list then you should use VirtualTreeview it is a tree view with grid capabilities as well a fine control to learn how to use it can be used almost everywhere. It has a bit steap learning curve though.


Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

TinyPortal © 2005-2018