TsAlphaImagelist problem?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #38296
    Acheron
    Participant

    Hi guys!

    I installed the latest version of AlphaControls. Since then, I've been experiencing weird issues in glyph drawing.

    After a bit of searching I found similar issues to mine, but they were related to TVirtualStringTree.

    In my case, I can see it happening with another component called TrkSmartTabs, which has been operating flawlessly so far (and with the TVirtualStringTree, too).

    Sometimes the images disappear completely, then after hovering the mouse above a TsButton the images reappear, and then vanish again. I could not really investigate out the reasons for this seemingly random behaviour.

    I also tried to completely comment out the PaintImage procedure of TVirtualStringTree, as I saw in another forum thread, but to no avail.

    Any suggestions or help on what I should change to get rid of this random behaviour?

    Thank you in advance,

    Béla

    #59655
    Support
    Keymaster

    Hello

    Please specify, the problem with glyphs drawing exists only in the TrkSmartTabs and in the TVirtualStringTree components?

    Can you make a demo and upload here, please?

    #59669
    Acheron
    Participant

    Hi!

    I will try to create a demo asap, until then I try to specify:

    the problem with the TrkSmartTabs is that sometimes the icons on the tabs disappear, then they appear again while in the code there is nothing that could be responisble for this.

    On picture “p1.png” you can see the abscence of icons. Then I move my mouse above the button below it (with the little clock sign), and when moving back above the tabs, the icons reapper at once, like on picture “p2.png”. Then it happens again and again: icons disappear whenn for example changing tabs, then reappear after hovering over a button.

    The problem with TVirtualStringTree is very similar: at first I cannot see any icons (p3.png), then I start moving the mouse over the TVirtualStringTree, and they appear (p4.png).

    The crucial problem is that of the TVirtualStringTree, as we use them everywhere, while I can use another tabcontrol if I have to (however I would really like to avoid this situation…)

    #59681
    Acheron
    Participant

    Hi!

    I created a test application in Delphi 10.2, which mimics the layout and behaviour of my app.

    Unfortunately the TrkSMartTabs component does not show the error in this app. However your can clearly see that the images drawn onto the area of TVirtualStringTree are different from what you can see, if you look at it in the imagelist.

    I attached the folder for TrkSmatrTabs, too.

    I appreciate your help,

    Béla

    #59682
    Support
    Keymaster

    Thank you

    Really, reason of the issue is in the strange work with BlendColor property by the VirtualStringTree.

    I will add the global acIgnoreBlendColor variable declared in the acAlphaImageList unit.

    You will be able to change this behavior by changing of the variable to True.

    #59683
    Acheron
    Participant

    Ok, thank you for your prompt help.

    Not to urge you, but when do you think this fix will be available?

    #59696
    Support
    Keymaster

    It's published already, you can try it.

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