This is the first hit Google gave me :)

http://users.iafrica.com/d/da/dart/Delphi/TTreeView/TTreeView_eg11.html

Darius

----- Original Message ----- From: "Alex" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, January 02, 2007 12:47 AM
Subject: [lazarus] Example how to sort a TTreeView


First of all happy new year,

Can anybody show me how to sort a TTreeview? I am trying with the Customsort method but I don“t know how to call the right parameters.

|TTreeView.CustomSort(SortProc: TTreeNodeCompare): Boolean;| <http://www.lazarus.freepascal.org/lcl_doc/TCustomTreeView.html#link2668>

Could you show me a little example of how to declare the SortProc Variable of type TTreeNodeCompare?

Thank you for your help,
Alex




_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to