TWebBrowser

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

TWebBrowser

Postby theLizard » Mon Jan 01, 2018 7:03 pm

Not sure how to ask this question so here goes,

I am loading an html into my TWebBrowser, it loads ok and all looks good BUT not getting the benefit of any of these css and js

Code: Select all
<link href="css\hint.css" rel="stylesheet" />
<link href="css\hint.min.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script src="js/highcharts.js"></script>
<script src="js/exporting.js"></script>
<script src="js/offline-exporting.js">


I am guessing it has something to do with paths but not sure what, I have tried fully qualifying paths but no luck with that.

What should I be doing??

Cheers
theLizard
BCBJ Master
BCBJ Master
 
Posts: 449
Joined: Wed Mar 18, 2009 2:14 pm

Re: TWebBrowser

Postby macicogna » Tue Jan 02, 2018 5:42 am

Hi,

Just checking: try to open your HTML with IE or Edge and verify if it works properly.

Marcelo.

P.S. In case it is a problem with TWebBrowser, I'm working with "Delphi Chromium Embeded 3" (https://github.com/hgourvest/dcef3) trying to compile it with C++Builder and I will share it with the BCBJ community soon.
User avatar
macicogna
BCBJ Veteran
BCBJ Veteran
 
Posts: 67
Joined: Mon Aug 04, 2008 4:57 pm
Location: Brazil

Re: TWebBrowser

Postby theLizard » Tue Jan 02, 2018 4:09 pm

macicogna wrote:try to open your HTML with IE or Edge and verify if it works properly.


Works fine with all browsers, IE, edge, Firefox

cheers
theLizard
BCBJ Master
BCBJ Master
 
Posts: 449
Joined: Wed Mar 18, 2009 2:14 pm


Return to Technical

Who is online

Users browsing this forum: Google [Bot] and 11 guests