NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on December 06, 2012, 05:21:53 AM

Title: Form Style Question
Post by: osquiabro 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..
Title: Re: Form Style Question
Post by: Bruce 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

Title: Re: Form Style Question
Post by: osquiabro 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