NetTalk Central

Author Topic: Unknown Procedure Label, Draw  (Read 3726 times)

BradT

  • Newbie
  • *
  • Posts: 37
    • View Profile
    • Email
Unknown Procedure Label, Draw
« 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

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Unknown Procedure Label, Draw
« Reply #1 on: September 11, 2020, 01:23:07 AM »
Re-download NT11.44 and install.  I think Bruce fixed it.

Otherwise

Line 2099 in NetWeba.Tpw
From %vc.Draw() to %vc.DrawGraph()
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

BradT

  • Newbie
  • *
  • Posts: 37
    • View Profile
    • Email
Re: Unknown Procedure Label, Draw
« Reply #2 on: September 11, 2020, 07:25:27 AM »
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