On 11 May 2011 14:35, Sven Barth <pascaldragon@goo*****> wrote:
> function SortComponentsForName(Item1, Item2: Pointer): Integer;
> var
>  Comp1, Comp2: TComponent;
> begin
>  Comp1 := TComponent(Item1);
>  Comp2 := TComponent(Item2);


This is what I have always been using.... Is one method more efficient
 (generated code) than the other?


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net

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

Reply via email to