Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 11 total
Thread Page control - display HTML?
Tue, Jan 22 2013 11:29 AMPermanent Link

Matthew Jones

Is there a way to have the TPage control load HTML at run time from code? Or
anything similar? I want to dynamically create content (a graph) on a form. Hmm, I
wonder if the HTML5 TeeChart could be used, fed from the server? That would be nice!
Anyone know if these things are possible.

/Matthew Jones/
Tue, Jan 22 2013 11:44 AMPermanent Link

Uli Becker

Matthew,

> Is there a way to have the TPage control load HTML at run time from code? Or
> anything similar? I want to dynamically create content (a graph) on a form.

Sure. Just create a html-file, save it and set the accordant
url-property of the TPage control.

Regards Uli
Tue, Jan 22 2013 11:47 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Is there a way to have the TPage control load HTML at run time from code?
Or anything similar? I want to dynamically create content (a graph) on a
form. Hmm, I wonder if the HTML5 TeeChart could be used, fed from the
server? That would be nice! Anyone know if these things are possible. >>

The best option would be to have the server-side create the HTML dynamically
in response to a custom URL, and then just use that URL in your TPage
control.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Jan 22 2013 11:52 AMPermanent Link

Matthew Jones

>  HTML5 TeeChart could be used, fed from the server?

Well, setting the URL of the TPage to
http://www.steema.com/files/public/teechart/html5/scroller/TeeChartScroller.html
shows a nice chart, at least in Chrome. Not in IE or the built in browser (I
presume that is IE embedded), which gets a "This browser does not seem to support
HTML5 Canvas" message. This is IE9. The spec says IE9 is supported. Is there a
reason that EWB might be causing this canvas issue to happen?

/Matthew Jones/
Tue, Jan 22 2013 12:04 PMPermanent Link

Matthew Jones

Create it where though? It will be in memory, on any device.

/Matthew Jones/
Tue, Jan 22 2013 12:07 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Well, setting the URL of the TPage to
http://www.steema.com/files/public/teechart/html5/scroller/TeeChartScroller.html
shows a nice chart, at least in Chrome. Not in IE or the built in browser (I
presume that is IE embedded), which gets a "This browser does not seem to
support HTML5 Canvas" message. This is IE9. The spec says IE9 is supported.
Is there a reason that EWB might be causing this canvas issue to happen? >>

Yes, the HTML5 canvas is supported in IE9.  Try this EWB app on IE9:

http://elevatesoft.com/ewb/canvastest.html

(preliminary, not part of EWB yet)

It looks like something is fishy with TeeChart.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Jan 22 2013 12:12 PMPermanent Link

Matthew Jones

> Yes, the HTML5 canvas is supported in IE9.  Try this EWB app on IE9:
>
> http://elevatesoft.com/ewb/canvastest.html
> (preliminary, not part of EWB yet)

I clicked, and it opened in Chrome. And failed with the Cannot call method
'toLocaleUpperCase' of null problem. But it works fine in IE9.

> It looks like something is fishy with TeeChart.

I will examine further, it is possible that it just isn't allowed to work that way.

/Matthew Jones/
Tue, Jan 22 2013 12:20 PMPermanent Link

Uli Becker

Matthew,

> Create it where though? It will be in memory, on any device.

Sorry, I meant: created on the server side. That's what I am doing:
Sending a request to the server, the server creates the html-file and
returns the url.

Regards Uli
Tue, Jan 22 2013 1:52 PMPermanent Link

Raul

Team Elevate Team Elevate

<<I clicked, and it opened in Chrome.>>
Chrome is set as default browser.

<< And failed with the Cannot call method
> 'toLocaleUpperCase' of null problem.
>>

Works fine with Chrome ( 24.0.1312.56) for me.

What version of Chrome are you running ?

Raul

Wed, Jan 23 2013 7:56 AMPermanent Link

Matthew Jones

> Works fine with Chrome ( 24.0.1312.56) for me.
>
> What version of Chrome are you running ?

Apparently I'm on the .52 version. And now it says it is updating. And after
relaunch, it works. Browsers, who'd have them. Is it too late to flee back to the
desktop? 8-)

/Matthew Jones/
Page 1 of 2Next Page »
Jump to Page:  1 2
Image