Martin escribió:
A much better idea (imho) would be, to add "all" and "none" *after sorting finished.

that way you would not rely on the name of them or anything like that.

 cbObjects.Sorted := true;
 cbObjects.Sorted := false;
 cbObjects.Items.Insert(0, lisPListAll);
 cbObjects.Items.Insert(1, lisPListNone);

Oops, see this message after sending my own :D.
But yes that is the solution if you want that first items All and None.


__________ Información de ESET NOD32 Antivirus, versión de la base de firmas de 
virus 4553 (20091028) __________

ESET NOD32 Antivirus ha comprobado este mensaje.

http://www.eset.com



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to