How can you set a TLabel to Bold and back to normal runtime in Delphi XE8 firemonkey multi device project?
I've tried this but it doesn't work:
label.TextSettings.Font.Style := [TFontStyle.fsBold];
Also tried:
label.Font.Style := [TFontStyle.fsBold];
Set
label.StyledSettings.Stylefalse, then it will follow theFontstylesettings.Here a sample code to toggle
StyledSettings.Stylewith in code (although I don't remember that I've ever played back and forth with these. For me it's more a one time setup at start).And to toggle the
TextSettings.Font.Style