Jump to content
Ian Branch

How to change a Style??

Recommended Posts

Hi Team,

My Customer, and I, really like the Emerald Light Slate style, with the exception that shades of Blue would be better than the shades of Green.

If you can, how do you change the colours of the Style?  In this case in particular the buttons.

Regards & TIA,

Ian

Edited by Ian Branch

Share this post


Link to post

A simple way to do that would be to add the Onyx Blue style to your project.  Then set the StyleName property *of the button* to Onyx Blue.  

 

Otherwise if you want more control over the exact color, you will probably have to use the Bitmap Style Designer.  Ray Konopka has an excellent video on YouTube on how to use it.  

 

If you don't want to do either of those, you might be able to use the Image and HotImage properties.  I have not gone that route, so I don't know if it works.  You would probably have to deselect seClient item in that case I would guess.

 

edit: in my original reply, I forgot the words "of the button" in the sentence above, which is critical.

Edited by Gord P

Share this post


Link to post

Hi Gord,

Thank you for your input.

I see what you are suggesting with the Onyx Blue but regrettably it isn't practical.  31+ projects, hundreds of forms in the suite....

I had a play with the Delphi Style Designer but it seems the colors are defined in a bitmap or similar file and I couldn't figure out how to change them. 

Share this post


Link to post
18 hours ago, Ian Branch said:

I had a play with the Delphi Style Designer but it seems the colors are defined in a bitmap or similar file and I couldn't figure out how to change them. 

Yeah, it isn't intuitive or easy.  I was hoping they would eventually massively improve it.  Going through Ray's video really helps though.

 

18 hours ago, Ian Branch said:

Resolved.  It turns out that Aqua Light Slate is the one that I needed/wanted all along.

Glad you got what you needed.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×