|
-
Apr 4th, 2005, 03:15 AM
#1
Thread Starter
Addicted Member
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.
[ +] - My Portfolio/Blog :: RattleSoft
-
Apr 4th, 2005, 05:52 PM
#2
Thread Starter
Addicted Member
[ +] - My Portfolio/Blog :: RattleSoft
-
Apr 4th, 2005, 06:17 PM
#3
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 4th, 2005, 06:23 PM
#4
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|