Home › Forums › Konopka Signature VCL Controls (formerly Raize Components) › RzPanel and Transparency
- This topic has 1 reply, 1 voice, and was last updated 2026-05-23 at 1:45 am by
Ray Konopka.
-
AuthorPosts
-
-
May 23, 2026 at 1:13 am #4388
Hi,
we are just migrating from Delphi XE (with RC5) to Delphi 13 (with latest Raize Components provided by GetIt Manager).
Unfortunately, we experience a bad behaviour with transparency. The TRzPanel is placed on a TImage, RzPanel set Transparent := true;
A TLabel is placed on the RzPanel, also set transparent = true. In OnEnter event we change the font color of the Label, OnLeave we change FontColor back to original.
This makes the Panel flickering. Same issue with transparent images on the RzPanel. You see the parent’s color (main form color is blue) for few milliseconds.
It worked well in Delphi XE (RC5), but changed in Delphi 13 (latest RC).
See sample video here: https://www.ascomp.de/drop/raize.mp4
VisualStyle set to vsWinXP, but all others show the same problem.
Parent is DoubleBuffered = true, RzPanel also DoubleBuffered = true. Same issue with DoubleBuffered = false (both and just one of them).
Any ideas how to fix?
Thank you in advance!
Best regards
Andreas
-
May 23, 2026 at 1:45 am #4494
Hi Andreas,
I not sure what happened, but for some reason your post got blocked and did not get posted. I only found it because I was tracking down another issue with the forums. I certainly apologize for this situation.Since the time of your posting, Delphi 13.1 has been released as well as KSVC 8.0.2. Do you still see the issues with 8.0.2? There have been quite a few changes in Delphi from XE to 13, specifically the way in which the TCustomPanel (ancestor of TRzCustomPanel > TRzPanel) handles VCL Styles and thus transparency.
In looking at the video, it appears that the panel ancestor just contains the specific label and no other controls. Is that correct? If so, then I would just remove the panel and just use the label. I would turn off the AutoSize property and then align it the same way you aligned the panel, which appears to be alTop.
Ray
-
-
AuthorPosts
- You must be logged in to reply to this topic.