>
>The 'correct' way would be to implement an interface
>
>1/ Declare the interface
>
>type
>  IPresentation = interface(IInterface)
>     procedure SetColor(Value: TColor);
>  end
>

Anyone who uses the word 'correct' deserves to be flamed! Obvoiusly you must have been 
tired.

Kyley's solution solved the original iteration problem over a list of objects where 
you have no control over their declaration.

my 2c.





---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to