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

Reply via email to