AC transparency issues

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #35908
    ralfiii
    Participant

    Hello!

    I do have a little problem.

    Let's say I have a form with a TShape or a TPaintBox on it.

    Then I place a Image with Transparent=True on the Form.

    The AC TsImage is less transparent then the standard TImage. It will draw the form background but the Paintbox/Shape will not be drawn where the TsImage overlaps. (see attached pic TsImageTransparencyBug.png).

    I think it's a bug as TImage performs better than TsImage but I found a workaround in a similar topic,

    http://www.alphaskins.com/forum/index.php?showtopic=6700

    It can be addressed by using the Forms OnPaint Event. (see OnPaint.png)

    BUT: Now I do have TFrames that requires a transparent TsImage or TsSpeedbutton on it. What shall I do now, the frame doesn't have a OnPaint-event and I don't want to put all the painting code into the main form?!?

    Help!

    Demo-app also attached.

    Thanks!

    #51063
    ralfiii
    Participant

    ?? No ideas?

    Attached there's a little app that demonstrates the problem a bit clearer.

    I don't find a possibility to make the TsSpeedbutton in the attached example transparent so the filling of the underlying Paintbox is visible. Using the OnPaint of the form doesn't work here as this is stuff on a Frame and TFrame doesn't have an OnPaint event…

    Thanks!

    Ralf

    #51082
    Support
    Keymaster

    Hello, Ralf!

    Background for the button received from parent control directly, not from other graphic control.You can use TsPanel as parent for this button and draw gradient on this panel, paintbox is not needed in this way.Look the attached demo.

    #51110
    ralfiii
    Participant

    Hey!

    Thanks for the feedback.

    I ran into problems and – worst case situation – I can't easily reproduce using only standard Delphi components.

    Labels and TsSpeedButtons seem to “lose” their transparency when they are placed on a docked form.

    (see attached screenshot)

    I already spent a couple of hours trying with standard Delphi docking, there it worked.

    I am a bit desperate, maybe you have an idea where the problem originates.

    In the attached app I use the LMD Docking 2013 components.

    Heeelp!

    Thanks a lot!

    Ralf

    #51111
    Support
    Keymaster

    Thanks for example, but I can't start it quickly because LMD should be installed here firstly..

    I'll try it ASAP.

    #51118
    ralfiii
    Participant
    'Support' wrote:

    Thanks for example, but I can't start it quickly because LMD should be installed here firstly..

    I'll try it ASAP.

    Super – can't wait to get the bugfix!!!

    To help you a bit I just tried with the current LMD Docking Version 2014 (with the free trial version), the bug is still there.

    Ralf

    #51119
    Support
    Keymaster

    I have checked it already.

    Just panel is transparent fully there (in skin) and BG of this panel is not used.

    Try to change a SkinSection of this gradient panel to 'PROGRESSH', for example. (this section is not fully transparent always).

    PS. I'll try to fix it in the nearest release.

    #51120
    ralfiii
    Participant

    Hey!

    Super, I didn't understand the explanation but the fix (changing the SkinSection) works fine.

    Thanks for your support!

    Ralf

    'Support' wrote:

    I have checked it already.

    Just panel is transparent fully there (in skin) and BG of this panel is not used.

    Try to change a SkinSection of this gradient panel to 'PROGRESSH', for example. (this section is not fully transparent always).

    PS. I'll try to fix it in the nearest release.

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