-
Custom Controls
I like to show pride in my programs and id like to make my own controls, i guess that would be ActiveX controls.
I want to make my own Checkbox control that as all the same features as the default except that:
Not checked is Image: chk_false.jpg
Checked is Image: chk_true.jpg
Grayed is Image: chk_disabled.jpg
I also have an image that is 3d like and i want to make it into a textfield that is just as resizeable as the default
Any resources? I searched the forums with no luck.
-
Re: Custom Controls
-
Re: Custom Controls
You could probably do it with a label and a picturebox all in your ActiveX usercontrol.
Start vb and select ActiveX Control. There is an Add-In that you can also load to assist you in the creation
of the control. Its called the "VB ActiveX Control Interface Wizard". Load that addin and it will setup your props, etc.
-
Re: Custom Controls
There are a lot of custom checkbox controls on www.PlanetSourceCode.com that you can learn from and get some ideas.
I would stick to API drawing methods instead of using other controls but it's best to start out simple if you haven't made anything like that before.
All you would need is a picturebox and a label like Rob said.