hi!
how do you set the width of a dynamically created text or fill-in object to exactly show its screen-value?
no spaces before or after the object.
thx!
The FONT-TABLE:GET-TEXT-WIDTH-PIXELS() (or GET-TEXT-WIDTH-CHARS) method will calculate how wide a string is in a particular font. You can then set the width of the text or fill-in object to match. You may need to add a bit of padding to fill-ins to leave room for the border.
The FONT-TABLE:GET-TEXT-WIDTH-PIXELS() (or GET-TEXT-WIDTH-CHARS) method will calculate how wide a string is in a particular font. You can then set the width of the text or fill-in object to match. You may need to add a bit of padding to fill-ins to leave room for the border.
thank you!