NetTalk Central

Author Topic: text on tab  (Read 3624 times)

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
text on tab
« on: May 24, 2014, 06:43:15 AM »
i have a tab text as a session value, and on a button click try to refresh the tab text by giving the tab an equate. On my button clientside, i then refresh the tab. But the refresh seems not to be working as the text not changing.

NT8.12

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: text on tab
« Reply #1 on: May 26, 2014, 12:38:11 AM »
Post a small example I can experiment with Olu.

cheers
Bruce

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: text on tab
« Reply #2 on: May 28, 2014, 02:56:31 AM »
Hi Bruce,
    I have attached an example app. Under the menu test there is a link that says olu, click on it and click the test button which should change the tab text.

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: text on tab
« Reply #3 on: May 30, 2014, 04:58:45 AM »
In future please include the dictionary, and icons, and data if necessary with the app in the example.

For 8.13 I've added a method call;

p_web.SetTabText('testOLU', 0, Random(1,1000))

first parameter is the procedure name, second is the tab number (the first tab is tab 0, and the 3rd is the new text.)

Cheers
Bruce


olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: text on tab
« Reply #4 on: June 01, 2014, 10:27:38 AM »
Thanks bruce. Next time i will add all files