Jump to content


Photo

HtmlFrame - How To Load URL On Show ?

html url

  • Please log in to reply
1 reply to this topic

#1 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 200 posts
  • LocationMelbourne Australia

Posted 14 December 2017 - 09:58 PM

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.or...e/index.html');
         end else begin
           PixiemForm.HTMLFrame.HTML.Add('http://myip:8077/pixie/index.html');
         end;
         PixiemForm.ShowModal;
 

  • 0

Andy


#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3885 posts

Posted 15 December 2017 - 12:15 PM

Hi,

 

Can you use UnimURLFrame instead of UnimHTMLFrame ?!

 

Best regards


  • 0





Also tagged with one or more of these keywords: html, url

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users