Code: Select all | Expand
METHOD Destroy() CLASS TRBGroup
...
// ::oFont:End()
...
2.)
This code is to reach a better linement of the text when texthigh is greater.
Code: Select all | Expand
METHOD Paint() CLASS TRBGroup
...
nOldBk := SetBkMode( ::hDC, TRANSPARENT )
DrawText( ::hDC, ::cCaption,{ aRect[ 3 ] - ::oFont:nHeight * nLine * 1.3 , aRect[ 2 ] + 3, aRect[ 3 ] - 1, aRect[ 4 ] - 3 }, nStyle ) //NEW
SetBkMode( ::hDC, nOldBk )
...