[Stackoverflow] [Progress OpenEdge ABL] Progress ABL - Creating a multi-line text box with an Editor widget

  • Thread starter Thread starter 4gl Developer
  • Start date Start date
Status
Not open for further replies.
4

4gl Developer

Guest
I have a collection of long comments fields that I would like to display in consecutive editor widgets, with controlled space between them, and no need for scrollbars. In other words, I need to be able to predict in advance how many lines my dynamic editor widget will require, so that when I create it, there are no extra lines, and no need for a vertical scrollbar. I want to remove the box from each editor, so that it would "read like a book" with normal spacing.

I have tried counting characters and finding ends of words, checking for inserted C/R's, etc. and I can only get kind of close.

Part of the problem I assume is the variable sized font, which means I might have to get into the GET-TEXT-WIDTH methods, but I don't want to overthink this. Anybody ever tried this?

Continue reading...
 
Status
Not open for further replies.
Back
Top