NetTalk Central

Author Topic: Form Style Question  (Read 2816 times)

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Form Style Question
« on: December 06, 2012, 05:21:53 AM »
is possible to change the form style in runtime?? if true i need to change the style to wizard for insert and default for change..

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Form Style Question
« Reply #1 on: December 06, 2012, 10:41:43 PM »
yes, it's possible to change the tab type at runtime. The template generates the code for all the tab types for this specific reason. The type is set in a local variable called loc:WebStyle.

Your best option is to right-click on the procedure, choose View Source, search for loc:WebStyle and see how it is set and used.

cheers
Bruce


osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: Form Style Question
« Reply #2 on: December 07, 2012, 05:49:32 AM »
in process code priority 5,560 with

 IF p_web.GetSessionValue('UpdateBillofLadings_CurrentAction')=1
           loc:WebStyle = Net:Web:Wizard
   END

work perferct

thanks