Painting issue in page control

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #70746
    Lasse
    Participant

    Any idea why the background is not painted fully in page control (see attachment)? It does not matter which skin is used, same effect. If I change the tab, then it disappears. Only happens when a form is opened.

    If I set AlignWithMargins True for TsTabSheet, then white is all around the tabsheet (PageControl3.png).

    Using Windows 11, Delphi 11, and the latest AlphaSkins.

    This might be a resizing issue…

    • This topic was modified 2 years, 9 months ago by Lasse.
    Attachments:
    You must be logged in to view attached files.
    #70751
    Lasse
    Participant

    For example Panel.Width := Panel.Width + 1; solves the issue. It doesn’t change the width – the panel is aligned to client and contains page control. But obviously it sends a message forward that does the trick.

    #70760
    Support
    Keymaster

    Hello
    Which AlphaControls version do you use?
    Can you show a small demo app with this glitch, please?

    #70768
    Lasse
    Participant

    I can try to find time to create a demo. Hard to find time and energy nowadays.

    Basically this happens when the page control is created dynamically. But I will try to repeat it in simple demo.

    #70791
    Lasse
    Participant

    I tried to repeat this but I can’t anymore. It might have been an issue with my own control which I have fixed. But I will follow the situation, if it comes up again…

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.