Hello
maybe I'm missing out on a glass of water :-(
I'm trying to create a label with autosizelabel without using designer and upload a layout.
I tried
but I get the error
java.lang.RuntimeException: Object Should first be initialized (Label).
on this row
Does anyone have an example from which I can take inspiration?
Thanks
maybe I'm missing out on a glass of water :-(
I'm trying to create a label with autosizelabel without using designer and upload a layout.
I tried
B4X:
Dim cv1 As AutoTextSizeLabel
Dim p1, p2 As Panel
p1.Initialize ("p1")
p2.AddView (p1,0dip, 100% y / 16,100% x, y 100%)
cv1.Initialize (p1, "cv1")
cv1.Text = "Hello World"
java.lang.RuntimeException: Object Should first be initialized (Label).
on this row
B4X:
mLbl.Text = value
Thanks