Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Wed Jun 03, 2020 9:15 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: HTMLViewer and CSS3 implementation
PostPosted: Mon Jan 30, 2012 1:33 am 
Offline

Joined: Mon Jan 16, 2012 11:20 am
Posts: 27
Hello,

I have just realized that the HTMLViewer component is not able to interpret the CSS3 instructions that you can test here.
Do you know if it will be implemented soon?

Have a nice day


Top
 Profile  
Reply with quote  
 Post subject: Re: HTMLViewer and CSS3 implementation
PostPosted: Mon Jan 30, 2012 8:14 am 
Offline

Joined: Mon Sep 22, 2008 9:01 pm
Posts: 61
I'm not sure what system you're testing it on but if you're under windows there is a registry trick to get your programs htmlviewer to use IE9 (Which supports CSS3) if it is installed on the users system.

#if targetwin32 then
dim reg as new registryItem("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION")
reg.Value(app.ExecutableFile.Name) = 9999
#endif
just goes in the apps open event.

Of course im sure most people still use Windows XP which doesn't support IE9 :\


Top
 Profile  
Reply with quote  
 Post subject: Re: HTMLViewer and CSS3 implementation
PostPosted: Wed Feb 01, 2012 3:14 am 
Offline

Joined: Mon Jan 16, 2012 11:20 am
Posts: 27
Hello,

Thanks for your feedback!

I tried your workaround this morning, but the "gradient" and some JQueryUI features are not supported by IE9.
Here is a CSS3 features test page

I am going to use the Titanium IDE to generate my application this time with nothing else than an iFrame using my web site URL.
Or someone will have another idea?

Have a nice day


Top
 Profile  
Reply with quote  
 Post subject: Re: HTMLViewer and CSS3 implementation
PostPosted: Wed Feb 01, 2012 3:35 am 
Offline
User avatar

Joined: Tue Jan 04, 2011 3:02 am
Posts: 1236
Location: Jönköping, Sweden
pawn wrote:
I'm not sure what system you're testing it on but if you're under windows there is a registry trick to get your programs htmlviewer to use IE9 (Which supports CSS3) if it is installed on the users system.

#if targetwin32 then
dim reg as new registryItem("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION")
reg.Value(app.ExecutableFile.Name) = 9999
#endif
just goes in the apps open event.

Of course im sure most people still use Windows XP which doesn't support IE9 :\


As a webdesigner and web developer I still don't know why people stick to IE, there are far more advanced browsers out there. Firefox, Chrome and Safari witch have HTML5 and CSS3 support for a while now and IE still struggles with even the most simple things as a gradient..:)

_________________
Image http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
Xojo Pro 2013r1


Top
 Profile  
Reply with quote  
 Post subject: Re: HTMLViewer and CSS3 implementation
PostPosted: Wed Feb 01, 2012 3:38 am 
Offline

Joined: Mon Jan 16, 2012 11:20 am
Posts: 27
@ Akiland : I do agree!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group