Hi sotto,
If you've changed the inheritence then I assume you're having trouble with
it showing up in the toolbox? Well, to "get around" this, simply build your
application then alter the toolbox, right click then "Add/Remove Items..."
and choose Browse. Then select the application you've just compiled. The
button control will show up in the list and you can drag it around till your
heart's content.
--
HTH,
-- Tom Spink, Über Geek
Please respond to the newsgroup,
so all can benefit
" System.Reflection Master "
==== Converting to 2002 ====
Remove inline declarations
"sotto" <ju**@sotto.invalid> wrote in message
news:0L********************@hestia.telenet-ops.be...
Hi,
how can i make a usercontrol that inherits from the
system.windows.forms.button instead of the forms.usercontrol ?
I want to add a fiew features to my button and still be able to drag it
on to the form with the ide
i got working code, just a class that inherits from
system.windows.forms.button but then i need to do all the design by code
[
dim b as new mybutton
me.controls.add(b)
...
]
So i want to be able to make it a usercontrol... but still have all
standard button-properties (& add a fiew of my own)
thx