OK, I have spent 3 days looking for a solution and then trying to write one in java, but it is just beyond my capabilities.
I need to get the width of text B4A/i/J. The reason is I want to use B4XComboBox but I need to show multiple fields in each row lined up in columns. To do that I need the text width so I can pad it to the next column. I know the other possibility is to use a text box/label and a CLV for the dropdown but I will be doing this a lot and managing all this with multiple controls would be a pain.
Need to do this:
Hi Erel, The title says the wish. Currently, there are three different routines in the class with different results. Example: MeasureTextHeight("Mg") and MeasureTextHeight("M") give different results in B4A because the real height is different, but give the same result in B4J. I have not checked...