- This topic has 7 replies, 2 voices, and was last updated 10 years, 12 months ago by ralfiii.
-
AuthorPosts
-
November 11, 2013 at 10:52 am #35908ralfiiiParticipant
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!
November 14, 2013 at 11:44 am #51063ralfiiiParticipant?? 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
November 17, 2013 at 9:46 am #51082SupportKeymasterHello, 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.
November 18, 2013 at 3:24 pm #51110ralfiiiParticipantHey!
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
November 18, 2013 at 3:35 pm #51111SupportKeymasterThanks for example, but I can't start it quickly because LMD should be installed here firstly..
I'll try it ASAP.
November 19, 2013 at 11:20 am #51118ralfiiiParticipant'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
November 19, 2013 at 11:50 am #51119SupportKeymasterI 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.
November 19, 2013 at 2:12 pm #51120ralfiiiParticipantHey!
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.
-
AuthorPosts
- You must be logged in to reply to this topic.