PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20] Rezing/Redraw Issue - Tough One
[WD20] Rezing/Redraw Issue - Tough One
Iniciado por guest, 22,jun. 2015 22:24 - 6 respuestas
Publicado el 22,junio 2015 - 22:24


The sample video above shows that the controls flicker and are very slowly redrawn when resizing. I brought this to PCSoft's attention and they said they fixed it starting with the final version 20 release, but I'm still experiencing this issue. I'm using the GenSteel style, but have had the same issues with other styles.

Anyone have any idea what's going on here?
Publicado el 23,junio 2015 - 15:07
Hi,

Do you have any code in the "Resizing Win_xx" or "Whenever modifying win_xx" embed points (Or any other) ??

You can try to play around with:
WinDisableEffect(effectAnimation + effectTranslucentBorder + effectDDW + effectBlur)


Cheers
Tor-Bjarne
Publicado el 23,junio 2015 - 15:40
I do not have any code at all. The project from the video is just a quick example with only controls and the GenSteel style.

WinDisableEffect() did not change anything when I put it in the 'Resizing WIN_xx' process.

Thanks though!
Publicado el 23,junio 2015 - 15:45
Hi Curtis,

I see that you are using a Tab control. Does it do the same outside the tab control?

I had this very problem using iStyle140 and the culprit was a transparent PNG file (the image was only transparency). When I removed the PNG file then there was no more flickering. Then I made a personnalized style with no background image and all was fixed for all the other tab controls.

Just check your tabl control background image in the tabs to see if it's transparent. Try to remove the background image. Maybe this is the same problem I had couple years ago.

Best regards,
Alexandre Leclerc
Publicado el 23,junio 2015 - 16:10
Quote
Curtis

WinDisableEffect() did not change anything when I put it in the 'Resizing WIN_xx' process.

You are suppose to put this code in the Project code or "Clobal declaration of Win_main"

I was curious about, if there was any code in your 'Resizing WIN_xx' process.

Cheers
Tor-Bjarne
Publicado el 23,junio 2015 - 16:22
Quote
Tor-Bjarne


Quote
Curtis

WinDisableEffect() did not change anything when I put it in the 'Resizing WIN_xx' process.



You are suppose to put this code in the Project code or "Clobal declaration of Win_main"



I was curious about, if there was any code in your 'Resizing WIN_xx' process.



Cheers

Tor-Bjarne

Oops. Still had no effect when I moved it to Global declaration.

Alexandre,
You might be on the right track. I was able to make it better by getting rid of the outside border image of the tab, but it's still not perfect. Removing the images of the panes did not help at all.
Publicado el 23,junio 2015 - 16:31
Hi Curtis,

Yeah, this could be something related to transparency in some images used in GenSteel but we can't be sure it's the same issue I had in the past. This was for your consideration and investigation... just in case it would be similar.

Best regards and good luck with that,
Alexandre Leclerc