Posted 28 June 2020, 4:06 am EST
Hello guys,
I’m trying to add a C1Label to my form, but i can’t find any property to make the borders rounded.
Is it possible ?
Thanks a lot !
Forums Home / ComponentOne / WinForms Edition
Posted by: mx5 on 28 June 2020, 4:06 am EST
Posted 28 June 2020, 4:06 am EST
Hello guys,
I’m trying to add a C1Label to my form, but i can’t find any property to make the borders rounded.
Is it possible ?
Thanks a lot !
Posted 28 June 2020, 5:23 pm EST
Hello,
Sorry but there is no direct way to achieve to make the borders rounded in C1Label.
I have attached a sample that implements the workaround to achieve the same by handling the Paint event.
Regards,
Prabhat Sharma.
RoundCornerLabels.zip
Posted 20 July 2020, 7:17 pm EST
Thanks a lot but unfortunately i not see any rounded corner on this example. The angles of the label remains 90 degree.
Posted 21 July 2020, 10:42 pm EST
Hello,
Sorry for inconvenience.
Please see the attached sample which shows how you can create the rounded-corner labels.
If you need any other help, please let me know.
Regards,
Prabhat Sharma.
RoundLabels.zip