NetTalk Central

Author Topic: Switch Tab remembering on and off  (Read 3396 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Switch Tab remembering on and off
« on: March 29, 2010, 12:48:50 AM »
Hi,
Is it possible to switch the Tab remembering on and off at procedure level.
In some cases, tab remembering is annoying for users and sometimes it is convenient.
Rene
Rene Simons
NT14.14

Poul

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: Switch Tab remembering on and off
« Reply #1 on: March 29, 2010, 08:53:44 AM »
I seem to remember being annoyed when the tabs were not "remembered".

if i understand you, the sessionvalue you need to set is 'showtab_yourupdateform' - if you can find the right embeded to set it to 1 or whatever value you prefer -
bruce will have it set to loc:tabnumber (the current value) or loc:invalidtab when there is an error.

one place i might do this would be at the bottom of the proceduresetup
Code: [Select]
  IF p_web.getPageName(p_web.RequestReferer)   = 'formIcamefrom' 
     ... override some tab/focus session values fields.
  end

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Switch Tab remembering on and off
« Reply #2 on: March 29, 2010, 01:22:45 PM »
Thanks Poul,

That's why I want to have a choice.
Thanks for the tips. I think I can sort it out this way.

Rene
Rene Simons
NT14.14