ArminKH
Well-Known Member
hi i want to get typeface and textsize of an object(a label or button) by reflection
here is my code
but above code return wrong value
for example when my textsize in label is 16 this sub return 24
and if is possible please help me to find the method of GetTypeface by reflection
tnx
here is my code
B4X:
Sub TextSize(Target As Object)
Dim GetTextSize As Reflector
GetTextSize.Target=Target
Log(GetTextSize.RunMethod("getTextSize"))
End Sub
for example when my textsize in label is 16 this sub return 24
and if is possible please help me to find the method of GetTypeface by reflection
tnx