FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour BTNBMP : Different Releases
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
BTNBMP : Different Releases
Posted: Fri Jun 09, 2023 07: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?




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


look this videos

2018




2023



the source code is the same
Code (fw): Select all Collapse
  

@ 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 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
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: BTNBMP : Different Releases
Posted: Fri Jun 09, 2023 01: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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: BTNBMP : Different Releases
Posted: Sat Jun 10, 2023 03:55 PM

No

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

Continue the discussion