I mainly made this because i hadn't made a control before, but also because the shape control in vb6 was useful. So those who miss the shape control, here it is.
This control even simulates vb6's transparency system. Meaning when it's set to vb6transparency mode it can see through to other VBShape controls, not just the form.
The vb6 transparency was tricky and as far as i can see it is working, however i can't be sure it's entirely bug free.
This control gives you the option of a Rectangle and Circle shape
Dotted Line and different thickness borders
Properties to look at:
BackColor
ForeColor
BorderStyle
BorderWidth
Shape
vb6Transparency
To test this control on a form you will need to first compile the control then add it to your toolbox, it won't appear in the .net list until you hit 'Browse' and select the dll
I don't have vb6 anymore and did this from memory, so if there is any other features the old control had.. or just plain new features you would like, let me know, or feel free to add these yourself.
Last edited by Phill64; Dec 21st, 2005 at 06:54 AM.
AntRush - Real-Time Strategy game, based around ants!