NetTalk Central

Author Topic: "Other" Button in NetWebBrowse  (Read 1760 times)

rupertvz

  • Sr. Member
  • ****
  • Posts: 316
    • View Profile
    • Email
"Other" Button in NetWebBrowse
« on: April 10, 2013, 10:37:06 PM »
Hi Guys,

I have a button added in a NetWebBrowse, which is set to "other" action.

The button works fine, but I need it to refresh the page-header when the button is clicked - as the header contains a display value (variable) that is updated when the user clicks the button.

When I click on the menu (left) and click back onto the NetWebBrowse procedure, the header refreshes just fine and shows the updated value correctly.

But I'd like to refresh the header without the user clicking off the NetWebBrowse.

I've tried calling 'indexpage' URL from this button, and seems to work a bit better, but it still doesn't update immediately when the button is clicked ..

Regards
Rupert

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11197
    • View Profile
Re: "Other" Button in NetWebBrowse
« Reply #1 on: April 11, 2013, 08:21:57 PM »
I'm presuming you have some code "under" the button which executes when it's clicked?
if so you can call the header procedure from there. Something like;

PageHeaderTag(p_web)

and the header should refresh. (For debugging you may want to put a random number on it so you can see when it refreshes, but perhaps what you're expecting to change is not set yet.)

Cheers
Bruce