That's only a tedious workaround but if you later add something to your
list you would have to remove the first element, set "Sorted" true and back
to false, then add the first element again. Not an elegant solution.
That should never be an issue. Every time you use Procedure List, the
combobox is populated from scratch using information retrieved from
CodeTools. If the Procedure List window is close, everything is
cleared and free.
So where exactly would "adding things later" occur?
Oh yes. I have not read the details. I just had in mind what I
experienced with StringLists where it seems that you also have to do
such workarounds. Ok, in this case my objection may not be valid. It was
meant for list sorting in a more general way (especially StringLists).
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus