Re: OnCreateFTPList in 3/22 Snapshot

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

"Jon Robertson" <jonrobertson@medevolve.dontspamme.com> wrote in message
news:E407C1A58CF3E240jonrobertson@medevolve.dontspamme.com...

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

Gambit

Replies

In response to

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