NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: BradT on September 10, 2020, 11:03:23 AM
-
C10.12799
NetTalk 11.44
Insight 2.34
Draw 4.22
I upgraded all the Capesoft templates. I'm still getting an unknown procedure label on ThisGraph7.Draw below. Which looks like it refers to the GlobalInsight class. Any idea why? I thought the update of the templates would change it to the DrawClass rename.
Template Code below, the error is in the template code and not hand code.
If not p_Web &= NULL
loc:silent = p_web.GetValue('_Silent')
p_web.DivHeader('Graph_MapInvoices_BarByState_7','nt-left')
If loc:Silent = 0
QuickWindow{prop:hide} = 1
ThisGraph7.Reset()
ThisGraph7.Draw()
ans = 'images\@@@' & format(random(1,99999),@n05) &'.png'
ThisGraph7.SaveAs(clip(p_web.site.WebFolderPath) & '\' & Ans)
QuickWindow{prop:pixels} = 1
packet.append(p_web.CreateImage(ans,ThisGraph7.Width,ThisGraph7.Height,ThisGraph7.HeaderName))
End
-
Re-download NT11.44 and install. I think Bruce fixed it.
Otherwise
Line 2099 in NetWeba.Tpw
From %vc.Draw() to %vc.DrawGraph()
-
Thanks Don. Seems like one of the other templates may have overwritten this for some reason. I installed the same NT11.44 and it renamed it to DrawGraph.
Thanks for the help.
Brad