How can I calculate the max size of a font based on the size of a string to be all visible in a Tsay object ?
Antonio
Regards
Antonio H Ferreira
Antonio H Ferreira
How can I calculate the max size of a font based on the size of a string to be all visible in a Tsay object ?
Antonio
REDEFINE SAY oSUBDIR VAR cSUBDIR ID 115 OF oDlg3 UPDATE
hDC := oDlg3:GETDC()
nCharWidth := GettextWidth( hDC, cSUBDIR )
MsgAlert( nCharWidth )
ReleaseDC(hDC)