I know how to set Font (family, style, size)
But how to get Family and style (bold, italic) in code from existing label? I want to read them from already defined label. How to extract them from variable like xfont?
Sub Process_Globals Public lbl1, lbl2 As B4XView Private xfont As B4XFont '.......... End Sub Sub Slider2_ValueChange (Value As Double) fsize2=Value xfont = fx.CreateFont(nfont2, fsize2, True, False) lbl2.Font = xfont End Sub