I have a project that was written in Delphi 6 and used Indy 8. I need to upgrade this project to Delphi 2005 and use Indy 10.
In Delphi 2005, when I open the Form containing the old Indy components, the following two errors occur:
Property OnLogItem does not exist
Property Target does not exist
Both of these errors have to do with Indy's TIdLogDebug
component.
I have heard that instead of using the TIdLogDebug
, one must use TIdLogEvent
instead. However, this component does not have the OnLogItem
and Target
properties.
What event handler should I use with the TIdLogEvent
component of Indy 10, that substitutes the OnLogItem
event of the TIdLogDebug
component of Indy 8?