NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: DonRidley on June 11, 2013, 04:42:50 PM

Title: "Double Display" of Graphs EXAMPLE ATTACHED
Post by: DonRidley on June 11, 2013, 04:42:50 PM
After updating to NT 7.11, my graphs are now displaying twice as much as I want.   ;)

Please take a look at my attached screenshot.

I tried the shipped graph example but it appears to have it's own problems (no graphs display at all).

Other than a few minor hiccups, the update has went pretty smooth,

Thanks,

Don



[attachment deleted by admin]
Title: Re: "Double Display" of Graphs After 7.11 Update
Post by: Bruce on June 11, 2013, 09:51:01 PM
Hi Don,

>> I tried the shipped graph example but it appears to have it's own problems (no graphs display at all).

example seems ok here - I'm guessing you don't have zlib.dll and libpng.dll in the app folder (of the example.)

with regards to your app I suspect it has something to do with the way your app layout is "constructed".
There's a new menu option "Open Links as" which sets the default for your app, and then you can override that at the procedure level.


My guess is that you have that set as "Content" or "Popup". That's ok, but if you do then any menu item that calls a _NetWebPage_ procedure _must_ have the override set to Open as Link. (That's something I'll build into an upcoming release.)
I suspect you have a Page hanging off your menu, and this could definitely cause the problem with your graphs.


update: I checked, and it already correctly handles netwebPages - so I think I need an example to duplicate the effect.

Cheers
Bruce


Title: Re: "Double Display" of Graphs After 7.11 Update
Post by: DonRidley on June 12, 2013, 06:34:30 AM
example seems ok here - I'm guessing you don't have zlib.dll and libpng.dll in the app folder (of the example.)

Yep, that was it Bruce.  It has been so long since I setup my graphs I forgot about that.

I will dig a little deeper and see what I can come up with. 

Thanks,

Don
Title: Re: "Double Display" of Graphs After 7.11 Update
Post by: DonRidley on June 20, 2013, 06:23:56 AM
Bruce,

I modified the shipped Graph Example to demonstrate the problem.  I simply placed the existing graph on TAB 1 on the update form.  Graph displays again at the bottom of the page.

I think this is related to the browse headers doing something similar.

Example attached.

Thanks,

Don

[attachment deleted by admin]
Title: Re: "Double Display" of Graphs EXAMPLE ATTACHED
Post by: Bruce on June 24, 2013, 10:57:20 PM
fixed for 7.13 - thanks for the example.

cheers
Bruce
Title: Re: "Double Display" of Graphs EXAMPLE ATTACHED
Post by: DonRidley on June 25, 2013, 02:15:28 AM
Thanks again Bruce!!