Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Drag and drop in user controls...

0 views
Skip to first unread message

Richard Moore

unread,
Jan 13, 2004, 6:10:15 PM1/13/04
to
Hi,

I created a user control consisting of two nested panels.

My question is how can I get my user control to accept controls that are
dropped into it ( one of its nested panels ) at design time.

Thanks in advance

--
Richard Moore
---------------------------------------
Aquila Cybernetic Ltd

Probably the cheapest UK computer shop on the web

http://www.e-aquila.com/products/products.asp

---------------------------------------


Richard Moore

unread,
Jan 15, 2004, 12:43:16 PM1/15/04
to
In answer to my own question...

Seems you have to change the designer that the user control uses at design
time.

Inserted the following line before the class declaration and it all worked

<Designer(GetType(ParentControlDesigner))> _


--
Richard Moore
---------------------------------------
Aquila Cybernetic Ltd

Probably the cheapest UK computer shop on the web

http://www.e-aquila.com/products/products.asp

---------------------------------------
"Richard Moore" <ric...@nospam.aquila.to> wrote in message
news:ePkVxki2...@TK2MSFTNGP09.phx.gbl...

0 new messages