Android Question B4X Table error

morphe2011

Member
Licensed User
Longtime User
Good Day guys and gals.
I have a B4X table that gets loaded from a Sqlite db.
All is good except for this line: TblAll.SearchField.TextField.TextColor=Colors.Black which throws this error : java.lang.RuntimeException: Class instance was not initialized (b4xfloattextfield)

The actual preceeding code is :
TblAll.SetData(TblData)
TblAll.Refresh
TblAll.SearchField.TextField.TextColor=Colors.Black

and the table itself is on a panel created through the designer. Clearly I missed a step.
As always, any help is most appreciated.
 
Back
Top