[Gambas-user] Compare event

Benoit Minisini gambas at ...1...
Sun Sep 21 23:24:18 CEST 2008


On dimanche 21 septembre 2008, Kari Laine wrote:
> Hi ,
>
> I tried to figure out this Compare-thing what was mentioned in other
> thread.
>
> ListView.Compare event says in the help
>
> "This event is raised when two items must be compared. "
>
> I tried (really) and I did not find examples in sources which comes with
> Gambas. When exactly is the Compare method called?
> A little example would be nice.
>
> Best Regards
> Kari Laine

Look in the source of the FileView control. It uses this event to sort files 
according to the selected sorted column.

Regards,

-- 
Benoit Minisini




More information about the User mailing list