slight flicker with buttonbmp

slight flicker with buttonbmp

Postby Silvio.Falconi » Wed Apr 08, 2020 10:58 pm

if I change the image in a buttombmp I see a slight flicker when I step over it with the mouse could not fix this?

Image


@ 520,780 BUTTONBMP oBtnGiorn;
RESOURCE aImagesGiorno[ 1 ] ;
PROMPT { || If( lGiorno, "giornaliero", "periodico" ) } ;
SIZE 80,20 PIXEL OF oFolder:aDialogs[1];
TEXTRIGHT FONT oFontBold GDIPLUS;
ACTION ( lGiorno := !lGiorno, ;
oBtnGiorn:hBitmap:= If( lGiorno, aImagesGiorno[ 1 ], aImagesGiorno[ 2 ] ) )

I saw it make it on Folder because the same button on the dialog not have flicker
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: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 72 guests

cron