NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjmiller on January 20, 2012, 05:28:55 AM

Title: Tabs -> Wizard does not work properly... how to change programmatically
Post by: rjmiller on January 20, 2012, 05:28:55 AM
Hi, I have found some mobile devices not very functional... keyboard gets in way and unable to move... wizard only goes one way... etc.

I would like to programmatically change tab style to rounded for mobile but leave it as set for non-mobile.  Where could I change this setting?

  RJ
Title: Re: Tabs -> Wizard does not work properly... how to change programmatically
Post by: Bruce on January 20, 2012, 05:53:36 AM
right click on the form, choose Source and search for
loc:WebStyle

you'll see it's set with code something like this;

 loc:WebStyle = p_web.site.WebFormStyle
  If p_web.IsMobile()
    Case loc:WebStyle
    of Net:Web:Outlook
    orof Net:Web:Tab
      loc:WebStyle = Net:Web:Wizard
    End
  End

there's an embed immediately after that where you can set it to whatever you like, for whatever reason you like.
valid options are
Net:Web:Accordion      Equate(1)
Net:Web:Tab            Equate(2)
Net:Web:Plain          Equate(3)
Net:Web:Rounded        Equate(4)
Net:Web:Round          Equate(4)
Net:Web:TabXP          Equate(5)
Net:Web:None           Equate(6)
Net:Web:Wizard         Equate(7)


cheers
Bruce

Title: Re: Tabs -> Wizard does not work properly... how to change programmatically
Post by: rjmiller on January 20, 2012, 05:57:26 AM
Guess what???

I just figured that out!  I think I am getting the hang of this!

  RJ