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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
