VLFONE Theme Customization
Posted: Fri Jul 09, 2021 4:36 am
EDIT: I had to set the fontsize of the webpage and then use the slider. For anyone interested the sample GOOGLE was very helpful.
Hi All,
I know there are shipped themes from Lansa and that I can create custom themes. Let's say I want to give the user the option to change font type, title bar color and font size.
I want to present to them, hypothetically, a drop down list of all the font types available, a slider for the font size, and a color wheel to choose the title bar. Then they can choose Times New Roman/12px/red and the application will update with the user's choices.
Has anyone done anything similar to this that can point me in the right direction?
I'm running into plenty of issues to begin, here's what I have for my slider to adjust the font (tried this with fontsize and same error):
I execute it and when I change the slider on the webpage I get this error:
Fatal Error:
Cannot read property 'setFontWeight' of null
Thanks you!
Hi All,
I know there are shipped themes from Lansa and that I can create custom themes. Let's say I want to give the user the option to change font type, title bar color and font size.
I want to present to them, hypothetically, a drop down list of all the font types available, a slider for the font size, and a color wheel to choose the title bar. Then they can choose Times New Roman/12px/red and the application will update with the user's choices.
Has anyone done anything similar to this that can point me in the right direction?
I'm running into plenty of issues to begin, here's what I have for my slider to adjust the font (tried this with fontsize and same error):
Code: Select all
Evtroutine Handling(#Slider.Changed)
#sys_web.WebPage.style.fontweight := Weight600
EndroutineFatal Error:
Cannot read property 'setFontWeight' of null
Thanks you!