slight flicker with buttonbmp

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

slight flicker with buttonbmp

Post by Silvio.Falconi »

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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply