iOS Question CustomListView.DefaultTextFont impaired by XUIViews

MitchBu

Well-Known Member
Licensed User
Longtime User
I am encountering something that looks somewhat related to what is described here:

My code was working just fine, until I added XUIViews, and suddenly, DefaultTextFont is described as Unknown member.

When I remove XUIViews, code works as before.

Is there any solution ?

TIA :)

B4i Version: 7.20
Parsing code. (0.24s)
Building folders structure. (0.02s)
Compiling code. Error
Error compiling program.
Error description: Unknown member: defaulttextfont
Error occurred on line: 2026
ClvFontList.DefaultTextFont = Font.CreateNew2(fonts(i), 30)
Word: defaulttextfont
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I guess that you used the old CustomListView module, right? Before XUI was released.

You need to remove that module and switch to xCustomListView (also named CustomListView). It is cross platform and much much better.
You can set the default text font with the designer (best option) or programmatically by setting the Font property of CLV.DesignerLabel.
 
Upvote 0
Top