FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Possible to use the new GRAD. in xBrowse for progress-bar ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Possible to use the new GRAD. in xBrowse for progress-bar ?
Posted: Sun Jul 27, 2008 01:43 PM
Hello,

i'm busy to add the new gradient
in the vtools-xbrowse-part.

Is it possible to show a gradient
in progress-bars as well ?



with gradient it looks like :



It is possible, to do this with bitmaps :

1. create a gradient bitmap for 100 % = Cell-length and Cell-height
because to write 100% behind the max-bitmap, just make the complete
length a bit shorter as cell length.

2. cut the bitmap in desired, different parts ( allways from the beginning )
sample : a part for age <= 30, age = 40, 50, 60 and so on.

Just as you like, you can create a gradient with frames
or make it smaller than the cell-height ( own style ).

100 %


50 %


25 %


3. include the bitmap for the cell in relation to the age.
a step of 10 years for the cutting is ok, because there is no much
difference to see.

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