Peekay Active Member Licensed User Longtime User Aug 5, 2020 #1 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
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 Aug 5, 2020 #2 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. 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
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. 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.
Peekay Active Member Licensed User Longtime User Aug 6, 2020 #3 Thanks klaus, I have deleted it and I have ticked the StringUtils library, but the error remain. Here is my code: Code: Copy lblMessage.text = RowText lblMessage.height = StringUtils.MeasureMultilineTextHeight(lblMessage,lblMessage.Text) PK Upvote 0
Thanks klaus, I have deleted it and I have ticked the StringUtils library, but the error remain. Here is my code: Code: Copy lblMessage.text = RowText lblMessage.height = StringUtils.MeasureMultilineTextHeight(lblMessage,lblMessage.Text) PK
klaus Expert Licensed User Longtime User Aug 6, 2020 #4 Did you Dim StringUtils ? Like this: Dim su As StringUtils and then lblMessage.height = su.MeasureMultilineTextHeight(lblMessage,lblMessage.Text) Upvote 0
Did you Dim StringUtils ? Like this: Dim su As StringUtils and then lblMessage.height = su.MeasureMultilineTextHeight(lblMessage,lblMessage.Text)