Home › Forums › Konopka Signature VCL Controls (formerly Raize Components) › Rounded corners
- This topic has 4 replies, 3 voices, and was last updated 2023-10-23 at 2:12 am by Leonardo Bonomi.
-
AuthorPosts
-
-
July 15, 2020 at 8:43 am #2099
Is it possible to get rounded corners on a button or edits?
- This topic was modified 4 years, 4 months ago by Lars Johansson.
-
July 19, 2020 at 6:34 pm #2101
Hi Lars,
The frames of buttons and edits are handled by the current style of the operating system, or if you are using VCL Styles. There are some additional levels of customization when it comes to Custom Framing for edit controls, but rounded corners are not one of the features required.Ray
-
October 22, 2023 at 12:39 am #3715
Hi all,
I am having a similar issue while migrating one of our applications from Delphi 7 (with plenty of components) to Alexandria 11.1.We would like to use Raize components as much as possible instead of the components we used before.
The problem is that we have not been able to find a good alternative for a rounded button. The only solution was to use the TRzBmpButton component and create appropriate bitmap images for each button. The result is good, but the effort is huge.
Do you have any better solutions to suggest, maybe something new compared to the non-solution available at the time of the previous post in this topic?
Best regards,
Leo -
October 23, 2023 at 12:58 am #3717
Hi Leo,
There are two thoughts that come to mind. The first is to leverage VCL Styles to create your rounded buttons. And with Per-Control styling that was introduced in 10.4, you can use the custom style for only the buttons. However, creating a custom VCL Style, even just the button part of it, is not trivial. I suggest checking out my CodeRage session – Creating Custom VCL Styles (https://www.youtube.com/watch?v=BBlSSObmfXA).
The other option would be to create a custom button component where you can control precisely how the button looks. Of course, creating a custom button is not a trivial task either.
Ray
-
October 23, 2023 at 2:12 am #3719
Thanks a lot, Ray.
I will watch the video carefully, then I will decide how to proceed.Regards,
Leo
-
-
AuthorPosts
- You must be logged in to reply to this topic.