ImageEn, unit iexWPD

TIEPortableDevices.OnLog

TIEPortableDevices.OnLog


Declaration

property OnLog : TIEPortableDeviceLogEvent;


Description

Specify an OnLog handler to receive debugging information.


Example

procedure TfrmMain.FormCreate(Sender: TObject);
begin
  fPortableDevices := TIEPortableDevices.Create();
  fPortableDevices.OnLog := AddToLog;
end;

procedure TfrmMain.AddToLog(Sender : TObject; const sMsg : String);
begin
  memLog.Lines.Add( sMsg );
end;