Android Question MeasureMultilineTextHeight

Peekay

Active Member
Licensed User
Longtime User
I have saved the stringutils.xml file in my additional libraries folder as per this link: Stringutils, but I still cannot get the MeasureMultilineTextHeight property.
Am I missing something?

Thanks
PK
 

klaus

Expert
Licensed User
Longtime User
Don't copy the stringutils.xml file in the additional libraries folder!
StringUtils is a standard library !!!
Remove it from the additional libraries folder.
Just check it in the Libraries Manager Tab.

1596649266629.png


Additional information:
Libraries have two files an xxx.jar and an xxx.xml file.
For additional libraries you must copy both files in the additional libraries folder.
The xxx.b4xlib libraries are different, these have only file, an xxx.b4xlib file, which must be copied in the additional libraries folder.
 
Upvote 0

Peekay

Active Member
Licensed User
Longtime User
Thanks klaus,

I have deleted it and I have ticked the StringUtils library, but the error remain. Here is my code:
StringUtils:
        lblMessage.text = RowText
        lblMessage.height = StringUtils.MeasureMultilineTextHeight(lblMessage,lblMessage.Text)

PK
 
Upvote 0
Top