NetTalk Central

Author Topic: Tabs -> Wizard does not work properly... how to change programmatically  (Read 2687 times)

rjmiller

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • Email
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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Tabs -> Wizard does not work properly... how to change programmatically
« Reply #1 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


rjmiller

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • Email
Re: Tabs -> Wizard does not work properly... how to change programmatically
« Reply #2 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