HighTechTalks DotNet Forums  

Design controls at run-time without DesignSurface?

Dotnet Framework (WinForms) microsoft.public.dotnet.framework.windowsforms


Discuss Design controls at run-time without DesignSurface? in the Dotnet Framework (WinForms) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Tim-e
 
Posts: n/a

Default Design controls at run-time without DesignSurface? - 07-08-2005 , 03:30 PM






I am looking for a way to allow application users to design the controls on a
given form at run-time.

I have researched the use of the DesignSurface class, but wish to give the
ability to design "in place". For instance, if I have a ToolStripContainer
on my form with controls on the ContentPanel area, I would like to allow the
controls to be designed directly in the ContentPanel.

I have already attempted to declar ControlDesigner instances and calling the
Initialize method, passing in the control I would like the designer to
handle. To much avail, I receive "object reference not set to an
instance..." errors as soon as I mouse-over the control.

Can anyone shed some light on this?

Thanks.

Reply With Quote
  #2  
Old   
Tim-e
 
Posts: n/a

Default RE: Design controls at run-time without DesignSurface? - 07-09-2005 , 02:47 PM






Anyone know anything about this?

"Tim-e" wrote:

Quote:
I am looking for a way to allow application users to design the controls on a
given form at run-time.

I have researched the use of the DesignSurface class, but wish to give the
ability to design "in place". For instance, if I have a ToolStripContainer
on my form with controls on the ContentPanel area, I would like to allow the
controls to be designed directly in the ContentPanel.

I have already attempted to declar ControlDesigner instances and calling the
Initialize method, passing in the control I would like the designer to
handle. To much avail, I receive "object reference not set to an
instance..." errors as soon as I mouse-over the control.

Can anyone shed some light on this?

Thanks.

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.