BTNBMP : Different Releases

Post Reply
User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

BTNBMP : Different Releases

Post by Silvio.Falconi »

I've seen controls behave differently in the same source code
on the left it was compiled in 2018 on the right in 2023

how is this possible?


Image

I mean for the color of border and for the gradient when I move the mouse


look this videos

2018

Image


2023
Image


the source code is the same

Code: Select all | Expand

  

@ nRow,ncol BTNBMP aBtnEle[n] ;
         FILENAME aElements[n][5];
        SIZE 220, 55 PIXEL;
         FLAT RIGHT;
        PROMPT aElements[n][2]  ;
        OF oElements  action Msginfo()

         aBtnEle[n]:ocursor:= oHand
         aBtnEle[n]:nClrBorder := { |obtn| (IIF(obtn:lMOver,CLR_BLUE,CLR_HGRAY)) }
         aBtnEle[n]:bClrGrad = { | lInvert | If( ! lInvert,;
                    { { 1, CLR_WHITE, CLR_WHITE } },;
                    { { 1, RGB( 229,241,251 ), RGB( 229,241,251 ) } } ) }

 
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
karinha
Posts: 7932
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 3 times
Contact:

Re: BTNBMP : Different Releases

Post by karinha »

Do you happen to use a modified BTNBMP.PRG class?

¿Utiliza una clase BTNBMP.PRG modificada?

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: BTNBMP : Different Releases

Post by Silvio.Falconi »

No
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
Post Reply