Re: OnCreateFTPList in 3/22 Snapshot

Giganews Newsgroups
Subject: Re: OnCreateFTPList in 3/22 Snapshot
Posted by:  Remy Lebeau (TeamB) (
Date: Wed, 5 Apr 2006

"Jon Robertson" <> wrote in message

> When I create an OnCreateFTPList event, the IdFtpList unit
> does not get added to my uses clause.

That is a known Delphi bug, not an Indy bug.  There are other events that
Delphi has that same problem with.  It doesn't pull in the dependant units
when generating an event handler.

> When compiling my project.  Adding IdFtpList to the interface
> uses clause fixes the error.

Of course.  But there is nothing Indy can do to automate that.



In response to

OnCreateFTPList in 3/22 Snapshot posted by Jon Robertson on Wed, 5 Apr 2006