Hello there,
I hava problem when create FloatLabeledEditText with code.
Message Error
java.lang.RuntimeException: Object should first be initialized (FloatLabeledEditText).
My code is like this ...
I hava problem when create FloatLabeledEditText with code.
Message Error
java.lang.RuntimeException: Object should first be initialized (FloatLabeledEditText).
My code is like this ...
B4X:
' The hosting panel for B4XView
Dim p As Panel
' The b4xview control
Dim xV As B4XView
' Add the FloatLabeledEditText with code (not with designer) and initialize
Dim txtEdit As FloatLabeledEditText
txtEdit.Initialize("txtEdit")
' Assign to b4xview with some properties
xV = txtEdit
xV.Color = xui.PaintOrColorToColor(Colors.Yellow)
' Add b4xview to hosting panel
p.AddView(xV, 0,0,0,0)
...