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)
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 100 guests