FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour A possible change in Class BtnBmp ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
A possible change in Class BtnBmp ?
Posted: Sun Jul 05, 2009 09: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 :


Changed to :
GradientFill( ::hDC, nAdjustBorder,nAdjustBorder, ::nHeight-nAdjustBorder, ::nWidth-nAdjustBorder, ::aGrad, .F. )
It shows a Bar like :

There seems to be still another Gradient at the Bottom to be adjusted.
It comes much closer to a defined Position TOP


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

Best Regards
Uwe :-)
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.

Continue the discussion