On Wed, May 11, 2011 at 3:51 AM, Mattias Gaertner
<[email protected]> wrote:
>
> function SortComponentsForName(Item1, Item2: Pointer): integer;
> var
>  Comp1: TComponent absolute Item1;
>  Comp2: TComponent absolute Item2;
> begin
>  Result:=CompareText(Comp1.Name,Comp2.Name);
> end;

I did not know about 'absolute' yet... what is the vantage?
Can you give me a link about it, please?

Marcos Douglas

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

Reply via email to