Jump to content

HtmlFrame - How To Load URL On Show ?


andyhill

Recommended Posts

Can someone show me how to get a HtmlFrame to load a URL on show - Thanks.

 

         PixiemForm.HTMLFrame.HTML.Clear;
         if UniServerModule.DeployFlag = True then begin
           PixiemForm.HTMLFrame.HTML.Add('http://www.mysite.org/pixie/index.html');
         end else begin
           PixiemForm.HTMLFrame.HTML.Add('http://myip:8077/pixie/index.html');
         end;
         PixiemForm.ShowModal;
 
Link to comment
Share on other sites

×
×
  • Create New...