NetTalk Central

Author Topic: Compile errors with buttons on browses (PR10)  (Read 5221 times)

spot1701

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Compile errors with buttons on browses (PR10)
« on: August 13, 2008, 02:04:15 AM »
Add a button to a browse. On the properties of the button set the "Action" (general tab) to "Other".

When you compile you'll get a "Calling Function As Procedure" error.

The error points at the "p_web._ViewGet" line in the following code:

Validate::Other  Routine
  data
loc:invalid                String(100)
loc:was                    Any
  code
  do OpenFilesB
  loc:ViewState = p_web.GetValue('ViewState')
  p_web._ViewGet(thisView,p_web.Base64Decode(loc:ViewState))
  do ClosefilesB

Thanks

Bryan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11297
    • View Profile
Re: Compile errors with buttons on browses (PR10)
« Reply #1 on: August 13, 2008, 05:51:59 AM »
Hi Bryan,

Strictly speaking it's a warning, not an error, but I've fixed it for PR11.
I'm hoping to get that uploaded tonight if possible because there are some other, more serious, issues in PR10.

Cheers
Bruce