Now you can apply rounded corners to your VisualNeo Win Buttons, Containers, Rectangles, and Simple Text Objects... You can also add colored rounded borders to objects in your apps too...
Command Examples:
GetObjectHandle "Container1" "[Con1Handle]" .first get the object handle into a variable...
uiRoundCornersSmooth "[Con1Handle]" "40" Sets the radius of Container1 to 40.
Add Borders:
uiRoundCornersWithBorder "[Con1Handle]" "20" "5" "0,0,0" .Parameters: "Object Handle" "Radius" "Border-Width" "RGB colors"
uiUndoRoundCorners "[Con1Handle]" will remove the rounded corner styles on an object.
The only limitation is you can't put an object with rounded borders over another object... It won't render properly. But there is a workaround, and I have included images below...
1st Image is the standard VisualNeo Win look. (Included just for comparisons...)
2nd image is rounded corners on objects with no border.
3rd image is rounded corners with colored borders.
4th image is rounded corner objects (no borders) overlayed on top of each other to simulate a border. (Workaround)
*Note: I tried styling a Text Entry object but the scrollbars disappeared when Applying the rounded corner style.
*Try it on other objects that don't contain scrollbars.
*Windows will redraw your window when navigating to another page or resizing your app. So use the commands again afterwards.
*Don't use VisualNeo Win built in borders on the same objects your using the plugin on. They won't render properly...
* This plugin was developed on Win 11 but should work on Win 10 too.
Hope you find it useful,
Cheers
UPDATE! Fixed a couple of issues... See my reply below and download: Round Corners.V2.zip
Now you can apply rounded corners to your VisualNeo Win Buttons, Containers, Rectangles, and Simple Text Objects... You can also add colored rounded borders to objects in your apps too...
Command Examples:
GetObjectHandle "Container1" "[Con1Handle]" .first get the object handle into a variable...
uiRoundCornersSmooth "[Con1Handle]" "40" Sets the radius of Container1 to 40.
Add Borders:
uiRoundCornersWithBorder "[Con1Handle]" "20" "5" "0,0,0" .Parameters: "Object Handle" "Radius" "Border-Width" "RGB colors"
uiUndoRoundCorners "[Con1Handle]" will remove the rounded corner styles on an object.
The only limitation is you can't put an object with rounded borders over another object... It won't render properly. But there is a workaround, and I have included images below...
1st Image is the standard VisualNeo Win look. (Included just for comparisons...)
2nd image is rounded corners on objects with no border.
3rd image is rounded corners with colored borders.
4th image is rounded corner objects (no borders) overlayed on top of each other to simulate a border. (Workaround)
*Note: I tried styling a Text Entry object but the scrollbars disappeared when Applying the rounded corner style.
*Try it on other objects that don't contain scrollbars.
*Windows will redraw your window when navigating to another page or resizing your app. So use the commands again afterwards.
*Don't use VisualNeo Win built in borders on the same objects your using the plugin on. They won't render properly...
* This plugin was developed on Win 11 but should work on Win 10 too.
Hope you find it useful,
Cheers
UPDATE! Fixed a couple of issues... See my reply below and download: Round Corners.V2.zip
Uploaded files:- You need to login to have access to uploads.
luishp, Vadim and 6 other users have reacted to this post.
luishpVadimdglojnarluizalangonzalez91CN_Icemanjoferar333iretz