Consultor Eletrônico



Kbase P18645: String Sizes Calculate differently on different OSs
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/25/2003
Status: Unverified

SYMPTOM(s):

String Sizes Calculate differently on different OSs

CAUSE:

Charleston of the message size is done with Width-Chars() method.

FIX:

The best method to use in this example is the GET-TEXT-WIDTH-CHARS(). This will calculate the width of a string using the font. It is more precise because it takes into account Fixed vs Variable fonts and the actual characters used.