Bless you, Mick, this is perfect. I was looking at doing something like this
(inheriting from ParentControlDesigner) but was afraid my boss would think
it was too big a job & wouldn't let me (could've done enough to get by with
standard TabPages plus an ExtenderProvider or two, but that would've been
awkward.) But with sample code, it's a no-brainer to do it the right way :-)
And you give me code to copy for the cancelable SelectedIndexChanging event
that we were going to have to write anyway (can't think why that wasn't
supplied in the first place - seems like an obvious need.) I could just kiss
you!
(shhh, don't tell my husband i said that)
-Rachel
"Mick Doherty"
<EX***********@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
http://dotnetrix.co.uk/tabcontrols.html -->Tabcontrol using custom
tabpages.
--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Rachel Suddeth" <ra****@bldhound.com> wrote in message
news:Og**************@TK2MSFTNGP14.phx.gbl...I would like to write a designer verb for a class I have that inherits
from TabControl. I figure the only way to do that without breaking the
special designer stuff that works for TabControl would be to inherit from
whatever Designer class is currently used for the TabControl. But I can't find
out what that is. There must be one... I would hope it wouldn't be sealed...
anyone know what it's called or how to get information about it? Or know
of
another way to go about this?
-Rachel