BTNBMP : Different Releases

BTNBMP : Different Releases

Postby Silvio.Falconi » Fri Jun 09, 2023 7:46 am

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 view
 

@ 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
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Re: BTNBMP : Different Releases

Postby karinha » Fri Jun 09, 2023 1:17 pm

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
karinha
 
Posts: 7613
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: BTNBMP : Different Releases

Postby Silvio.Falconi » Sat Jun 10, 2023 3:55 pm

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
User avatar
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 53 guests