Forum Replies Created
-
AuthorPosts
-
alessandroParticipant
Unlucky no, it also works only with non-bitmap skins
alessandroParticipant'Support' wrote:Buttons are defined only as images in some skins. Such properties as colors, gradients and transparency are not used there and can't be used for a changing of a controls looking.
I understand.
Three more question:
– do you know which skins doesn't use images for buttons or have I to go look inside every one ?
– is it possible to define a button using an image with an alpha channel or a predefined fixed transparency level ?
– is it possible to have a button with round corners without using images ?
Thank you for your patience 🙂
alessandroParticipant'Support' wrote:Thank you
See the sSkinManager1.CommonSections property.
New “BUTTON_TRANSP” section was added here. This section is inherited from “BUTTON”, but additional transparency added.
sButton1.SkinData.SkinSection property is defined to “BUTTON_TRANSP”
BG Image is drawn on the panel because is not included into skin.
This solution was useful for you?
This is the effect I was looking for, but why it doesn't work with other skins like i.e. WMP 2008 and Vienna ?
alessandroParticipant'Support' wrote:It's possible, but only if skin is active.
Can you prepare a demo? I'll add required changes there.
Sure here is a simple sample with a button on an image. Thanks in advance!
alessandroParticipantNo, i would like to set it at runtime on existing skins. Is it possible ?
alessandroParticipantIt's a starting point… how can I made one ?
alessandroParticipantQUOTE (Support @ Feb 15 2010, 01:10 PM) <{POST_SNAPBACK}>You can paint on the form or on the sPanel directly.. (using OnPaint event).Perfect! Exatcly what i wanted to do.
Thank you very much!alessandroParticipantQUOTE (Support @ Feb 15 2010, 12:47 PM) <{POST_SNAPBACK}>Hello
I can repeat described effect with huge buttons only (that can't be changed now).
Labels was transparent.Is there any component or combination of components I can use instead of TImage to avoid this problem ? The effect I would like to achieve is a picture (runtime loaded) as a background of the form
-
AuthorPosts