When I create a btnbmp gradient with
I have a btnbmp as this

practically I have a horizontal gradient how do I get a vertical gradient? ie like this

I tried also with
result

which is the worst situation but it is not what I was looking for
any solution pls ?
oBtnNum[k,t]:bClrGrad := { | lInvert | If( lInvert, ;
                { { 1/3, aBack[k], aGradient[k] }, ;
                 { 2/3, aGradient[k], aBack[k] }  ;
                }, ;
                { { 1/2, aGradient[k], aBack[k] }, ;
                 { 1/2, aBack[k], aGradient[k] }  ;
                } ) }I have a btnbmp as this

practically I have a horizontal gradient how do I get a vertical gradient? ie like this

I tried also with
oBtnNum[k,t]:bClrGrad  := { | lPressed | If( ! lPressed,;
      { { 1, aBack[k], aGradient[k] } },;
      { { 1, aGradient[k], aBack[k] } } ) }result

which is the worst situation but it is not what I was looking for
any solution pls ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com


