NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on April 14, 2017, 05:55:27 AM
-
Any way to change the Form style from Tab to Accordion at real time deppending on a condition? Ex:Desktop or mobile?
Thanks
-
loc:TabStyle = p_web.site.WebFormStyle
If p_web.IsMobile()
Case loc:TabStyle
of Net:Web:Accordion
orof Net:Web:Tab
loc:TabStyle = Net:Web:Wizard
End
End
-
Hi Alberto,
As Osa points out, your code has support for all the tab styles in it.
So yes, you can change at runtime by changing the appropriate property.
Take a look at the generated code to see how it is used.
cheers
Bruce