A possible change in Class BtnBmp ?

A possible change in Class BtnBmp ?

Postby ukoenig » Sun Jul 05, 2009 9:03 am

Hello,

Testing the Class BtnBmp, The Bar-display on RIGHT and LEFT Position doesn't look very nice.

In Class BtnBmp there is a line :
GradientFill( ::hDC, nAdjustBorder,nAdjustBorder, ::nHeight-nAdjustBorder, ::nWidth-nAdjustBorder, ::aGrad )
It shows a Bar like :
Image

Changed to :
GradientFill( ::hDC, nAdjustBorder,nAdjustBorder, ::nHeight-nAdjustBorder, ::nWidth-nAdjustBorder, ::aGrad, .F. )
It shows a Bar like :
Image
There seems to be still another Gradient at the Bottom to be adjusted.
It comes much closer to a defined Position TOP
Image

Maybe it is possible to define a different GradientFill for Position RIGHT and LEFT ?

Best Regards
Uwe :roll:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: jair, nageswaragunupudi and 115 guests