| Author | Topic: Gradient windows |
---|
| Raymond Fischbach | Gradient windows
on Wed, 28 Sep 2011 22:14:36 +0200Hello all,
I need to find a way to have a dialog with gradient colors. I have
found Phil Ide's gradient package but it doesn't completely fill my
needs.
Phil's gradient contains 2 colors. It also contains a gradient with 3
colors but in a kind of a triangle.
I need to have 3 colors: one color at the top, then a second color in
the middle and then go back to the first color at the bottom.
Any ideas?
Many thanks in advance,
Raymond |
| AUGE_OHR | Re: Gradient windows
on Wed, 28 Sep 2011 23:30:34 +0200 |
| Raymond Fischbach | Re: Gradient windows
on Thu, 29 Sep 2011 12:50:15 +0200AUGE_OHR a exprimé avec précision :
> see German Xbaseforum http://www.xbaseforum.de/viewtopic.php?f=16&t=5451
Hi Jimmy,
Very nice picture.
I have 2 problems:
- I have not access to the forum
- I don't speak, read, understand German
Thanks anyway,
Raymond |
| AUGE_OHR | Re: Gradient windows
on Thu, 29 Sep 2011 19:32:23 +0200hi,
> - I have not access to the forum
sorry i forgot that "Wissenbasis" is for User (need registration) only
> - I don't speak, read, understand German
most ist Code
but i can not "Copy/Paste" it to this Forum while it is not "my" Code.
it use 2x Gradient to show 3 Color like this :
aColors := { nColor1, nColor2 }
GraGradient(oPS , {0,0} , { {nWide,nHigh} }, aColors
,GRA_GRADIENT_VERTICAL)
aColors := { nColor3, nColor4 }
GraPos(oPS ,{0,nHigh})
GraGradient(oPS, , { {nWide,nFull-nHigh} }, aColors
,GRA_GRADIENT_VERTICAL)
greetings by OHR
Jimmy |
| Raymond Fischbach | Re: Gradient windows
on Thu, 29 Sep 2011 20:14:53 +0200Dans son message précédent, AUGE_OHR a écrit :
> hi,
>
>> - I have not access to the forum
>
> sorry i forgot that "Wissenbasis" is for User (need registration) only
>
>> - I don't speak, read, understand German
>
> most ist Code
>
> but i can not "Copy/Paste" it to this Forum while it is not "my" Code.
>
> it use 2x Gradient to show 3 Color like this :
>
> aColors := { nColor1, nColor2 }
> GraGradient(oPS , {0,0} , { {nWide,nHigh} }, aColors
> ,GRA_GRADIENT_VERTICAL)
>
> aColors := { nColor3, nColor4 }
> GraPos(oPS ,{0,nHigh})
> GraGradient(oPS, , { {nWide,nFull-nHigh} }, aColors
> ,GRA_GRADIENT_VERTICAL)
>
> greetings by OHR
> Jimmy
Thanks Jimmy, that's balready a good starting point.
I will see if I can do something with it.
Regards,
Raymond |