Possible to use the new GRAD. in xBrowse for progress-bar ?

Possible to use the new GRAD. in xBrowse for progress-bar ?

Postby ukoenig » Sun Jul 27, 2008 1: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 ?

Image

with gradient it looks like :

Image

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 %
Image

50 %
Image

25 %
Image

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 :lol:
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: No registered users and 39 guests