NetTalk Central

Author Topic: Wizarded memory form  (Read 3539 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Wizarded memory form
« on: July 14, 2013, 10:28:27 PM »
I have a wizarded memory form with 3 tabs. If I go past the first tab and on the second or 3rd tab I cancel the form and then return to the form it returns to the same tab it was on when I cancelled.
Is there a method of making the form always open on the first tab?
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Wizarded memory form
« Reply #1 on: July 15, 2013, 12:29:10 AM »
are you going to the form in "change" mode, or "insert" mode?

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Wizarded memory form
« Reply #2 on: July 15, 2013, 01:31:33 AM »
Hi Bruce
Change Mode
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Wizarded memory form
« Reply #3 on: July 15, 2013, 02:05:50 AM »
ok, right click on procedure, choose source, search for
'ntwiz'
That'll be on the line;
p_web.jQuery('#' & lower('tab_MailboxesFormControl_div'),'ntwiz',loc:options)

in the embed just above that put
loc:options = p_web.SetOption(loc:options,'activeTab',0) ! tabs are numbered from 0


terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Wizarded memory form
« Reply #4 on: July 22, 2013, 11:09:15 PM »
NT715 Clarion8
Hi Bruce. Did this. Solved that issue but has created another.
If on the second or third tabs I do a lookup I am now returned to the first tab after each lookup.
 
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Wizarded memory form
« Reply #5 on: July 22, 2013, 11:22:00 PM »
popup lookup, or page lookup?

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Wizarded memory form
« Reply #6 on: July 23, 2013, 12:34:45 AM »
Hi Bruce
Page lookup and the form is also page
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Wizarded memory form
« Reply #7 on: July 24, 2013, 02:05:33 AM »
yeah, it's gonna get tricky...
ok - try setting the session value only in the PreChange routine.

p_web.SetSessionValue('showtab_ProcedureName',0)

Cheers
Bruce