Bliking background when updating image or label

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #70988
    adam
    Participant

    Hi!
    I have dynamicly created window from custom template (placed on TsPanel or TForm).
    Template elements are: TsImage, TsHTMLLabel are TsLabelFX

    For simple example:
    – image1 is JPG placed as background (stretched, align alClient),
    – image2 is transparent PNG placed above image1 (100 x 100 px)
    – label1 (TsHTMLLabel or TsLabelFX) is simple text with transparent background placed on image1
    – panel1 (TsPanel) is parent for all (image1,image2,label1…)

    All looks fine. But when I updating caption from label1 some areas on image1 (background) blinking. Same effect when replacing graphics im image2.

    I try DoubleBuffered on form, StdImgTransparency in TSkinManager.Options, Image.Transparent. When SkinManager.Active is FALSE – updating image2 are smooth but updating labels – generate blinking…

    Can anyone tell what the problem is? Any suggestion for a solution?

    D7 pro, AC 16.24

    #70993
    Support
    Keymaster

    Hello Adam
    Can you make a small demo project, please?
    I will check it.

    #70995
    adam
    Participant

    Hello!
    I add example project.

    I think i’m doing something wrong – i don’t understand how to use doublebuffered in Alphaskins.

    #70996
    adam
    Participant

    Upload problem. I try again

    Attachments:
    You must be logged in to view attached files.
    #71048
    adam
    Participant

    Hello!
    Can anyone suggest where to look for the cause and how to block blinking after refreshing? The only solution is to rewrite the project with gr32 without AlphaSkins?

    #71049
    adam
    Participant

    In D10.3 – same effect ;(

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