Re: Web post component for https

From: Aleksey Kuznetsov (nospam_at_nospam.org)
Date: 08/13/04


Date: Sat, 14 Aug 2004 00:58:15 +0300


> How do I code the OnDone event to receive the output in HTML?

Just write the OnDone event handler and get the HTML output from Stream
parameter. Here is an example how to put output to memo:

     procedure TForm1.acHTTP1Done(Sender: TObject;
       ContentType: string; FileSize: Integer; Stream: TStream);
     begin
       Memo1.Lines.LoadFromStream(Stream);
     end;

Please also check out online manuals at
http://www.appcontrols.com/manuals/appcontrols/httpondone.htm

Thanks,
Aleksey