by Joseph M. Ferris (8 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (11 Votes)
This sample is a great starting point for a custom control. What this source code shows is how to use various shape controls and pictureboxes to create a custom frame container that has the ability to use rounded corners.
This code is well commented. Most of this code can be easily migrated to an ActiveX control. See the screenshot for an example of its appearance.
Feel free to leave me feedback, and I will try to respond. Don't forget to vote if you like it!
Assumes
Will work in Visual Basic 5.0, as long as you remove the RETAINED key in the .vbp file.
Download Rounded Frames (4 KB)