Wow, thanks all for that fine bunch of info. After scanning the internet the
info on this subject is not great, so the groups knowledge here has been of very
high standard!

Any chance of an example of the correct way to use the Tcomponentlist?
What I have done is:

declare:
var     DirMonList:Tcomponentlist;

create copies of existing component:
  DirMonList.Add(DirMonitor1);


access properties of new list component (does not work):
  if DirMonList.Items[Tval](DirMonitor1.Directory) = CurrDir then Exit;

---------------------------------------------------------------------------
    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