It seems that the WebTextLabel does not support the TextSize properties. I do not wish to just create a Style and assign to the WebTextLabel as I find that too many styles are making my WebApp very messy.
I understand that I can use CSS as alternatives. Besides, CSS is there other alternatives?
If you really want to do elaborate stuff in Xojo Web, you want to learn JavaScript.
Sub Shown() Handles Shown
self.ExecuteJavaScript("document.getElementById('"+me.controlId+"').getElementsByTagName('p')[0].style.fontSize='20px';")
End Sub
[quote=308551:@Michel Bujardet]If you really want to do elaborate stuff in Xojo Web, you want to learn JavaScript.
Sub Shown() Handles Shown
self.ExecuteJavaScript("document.getElementById('"+me.controlId+"').getElementsByTagName('p')[0].style.fontSize='20px';")
End Sub
[/quote]
And you also want to remember that tweaks like this may break in the future if we change the framework.