Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Mon Nov 19, 2018 3:35 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: More than 1 HTMLViewer not Displaying.
PostPosted: Wed Oct 10, 2012 10:31 pm 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
If I create 2 HTMLviewers, only the initial will display HTML output....the second remains a white empty window... Run the code on windows or Linux and it works fine. The 2nd HTMLviewers Menu appears when invoked by the mouse..although reload does nothing... Iwebkit and native both do not work... Or using one native and one iwebkit...ONLY the initially created HTMLviewer will work. Is this a bug or am I doing something wrong? ...sometimes it's easier to just to use objective c...except for rewriting the code....again :-/

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: More than 1 HTMLViewer not Displaying.
PostPosted: Wed Oct 10, 2012 10:35 pm 
Offline
Real Software Engineer

Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7858
Location: Canada, Alberta, Near Red Deer
Carbon or Cocoa ?
That's very relevant here

_________________
Norman Palardy (Real Software)


Top
 Profile  
Reply with quote  
 Post subject: Re: More than 1 HTMLViewer not Displaying.
PostPosted: Wed Oct 10, 2012 11:50 pm 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
npalardy wrote:
Carbon or Cocoa ?
That's very relevant here


Carbon...perhaps I'll try cocoa in the meantime out of curiosity :-)

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: More than 1 HTMLViewer not Displaying.
PostPosted: Wed Oct 10, 2012 11:57 pm 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
Update... Cocoa crashes immediately on startup with "quit unexpectedly"....ignore,report,relaunch...

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: More than 1 HTMLViewer not Displaying.
PostPosted: Thu Oct 11, 2012 6:38 am 
Offline
User avatar

Joined: Tue Jan 04, 2011 3:02 am
Posts: 1236
Location: Jönköping, Sweden
I simply did this:
Window1.Open
HTMLViewer1.LoadURL("http://www.jnytt.se")
HTMLViewer2.LoadURL("http://www.jnytt.se")


Both loads fine in Carbon and Cocoa OS X 10.7.5 on 2011r3 :-)
Could it be a 2012 issue?

_________________
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: More than 1 HTMLViewer not Displaying.
PostPosted: Thu Oct 11, 2012 9:20 am 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
I will go back to 4.3 and see if so. Try the RSDS library as an example. The cloud desktop uses a second window.... (method reworked for 3.0.3)

That's why I am asking...it didn't work so I restarted a different project with two HTMLviewers...loadpage at startup and in two buttons to see if it's startup open even failing...just didn't work...tested on 10.6.6

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: More than 1 HTMLViewer not Displaying.
PostPosted: Thu Oct 11, 2012 9:29 am 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
Thot could be Mac? Ran fine on 10.7 (called my nephew to test)...and I rad it from the remote debugger and sure enough it works fine on 10.7...satisfying enough for me :-)

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: More than 1 HTMLViewer not Displaying.
PostPosted: Thu Oct 11, 2012 2:57 pm 
Offline
User avatar

Joined: Tue Jan 04, 2011 3:02 am
Posts: 1236
Location: Jönköping, Sweden
simulanics wrote:
Thot could be Mac? Ran fine on 10.7 (called my nephew to test)...and I rad it from the remote debugger and sure enough it works fine on 10.7...satisfying enough for me :-)

Also works for me on 10.8.2 :)

_________________
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: More than 1 HTMLViewer not Displaying.
PostPosted: Thu Oct 11, 2012 9:39 pm 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
For some reason Composite was checked. After unchecking it it works fine. What exactly is composite used for?

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: More than 1 HTMLViewer not Displaying.
PostPosted: Thu Oct 11, 2012 11:39 pm 
Offline
User avatar

Joined: Tue Jan 04, 2011 3:02 am
Posts: 1236
Location: Jönköping, Sweden
simulanics wrote:
For some reason Composite was checked. After unchecking it it works fine. What exactly is composite used for?

http://docs.realsoftware.com/index.php/Window.Composite
"(Mac OS X 10.2 and above only). If True, It allows controls to be used on top of other controls or a background picture without a rectangle surrounding the control. Under Mac OS X Cocoa, all windows are composite, so the property has no effect and the problem that it solves does not occur." :)

_________________
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: More than 1 HTMLViewer not Displaying.
PostPosted: Fri Oct 12, 2012 5:14 am 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
Akiland. Please View my latest project of RSDS Library. Has been thoroughly tested for Mac ;-)

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 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