hookshy Well-Known Member Licensed User Longtime User Sep 10, 2014 #1 I managed to change the style of label, font text size but It seems that reading the style with : label1.Style is not returning any values ! Question: How do I save a label style like font and text size , color , backgound color and so on ... In order to load these properties later on ? Thank you !
I managed to change the style of label, font text size but It seems that reading the style with : label1.Style is not returning any values ! Question: How do I save a label style like font and text size , color , backgound color and so on ... In order to load these properties later on ? Thank you !
Erel B4X founder Staff member Licensed User Longtime User Sep 10, 2014 #2 How are you changing the style? Upvote 0
hookshy Well-Known Member Licensed User Longtime User Sep 10, 2014 #3 Code: Copy Sub fontspin_SelectedIndexChanged(Index As Int, Value As Object) lblx.Font=fx.DefaultFont(Value) End Sub Upvote 0
Code: Copy Sub fontspin_SelectedIndexChanged(Index As Int, Value As Object) lblx.Font=fx.DefaultFont(Value) End Sub
hookshy Well-Known Member Licensed User Longtime User Sep 10, 2014 #4 Thanks for your question this method txtS.style = "-fx-font-size: 20;" returns the font style when asked Upvote 0
Thanks for your question this method txtS.style = "-fx-font-size: 20;" returns the font style when asked