Jump to content
Sign in to follow this  
at3s

Custom button's style (TStyleContainer)

Recommended Posts

I'm trying to use some custom button's style looks like in screenshot.

There is just added TRectangle (in blue) in back of other controls.

But this stopped button pressing event hiring - when press on button, it does nothing.

Where is my bad?

 

image.thumb.png.789cbc68b3286e9f5525d457adc67426.png

Share this post


Link to post

Did you set HitTest to False?

  • Thanks 1

Share this post


Link to post
6 hours ago, MrZ said:

Did you set HitTest to False?

Thanks, it's a solution.

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
Sign in to follow this  

×