|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to Create an Invisible User Control?Is it possible to create a custom control that will show up in the toolbox
and can be dragged onto a form, but will appear in that special section at the bottom of the form designer window where things like ImageList controls go instead of on the form itself? If so, how is it done? - Don "Don" <unkn***@oblivion.com> schrieb You are looking for a 'component' instead of a control.> Is it possible to create a custom control that will show up in the toolbox > and can be dragged onto a form, but will appear in that special section at > the bottom of the form designer window where things like ImageList > controls go instead of on the form itself? If so, how is it done? http://msdn.microsoft.com/library/en-us/cpguide/html/cpconclassvscomponentvscontrol.asp Armin Don,
I remember me that Ken has answered this last week. http://groups.google.com/group/microsoft.public.dotnet.languages.vb/msg/d709eaa3371f9835 Cor "Don" <unkn***@oblivion.com> schrieb: Instead of inheriting from 'System.Windows.Forms.UserControl' let your class > Is it possible to create a custom control that will show up in the toolbox > and can be dragged onto a form, but will appear in that special section at > the bottom of the form designer window where things like ImageList > controls go instead of on the form itself? If so, how is it done? inherit from 'System.ComponentModel.Component'. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Converted a solution to VS2005 and it is complaining: Variable 'PF2' is used before it has been assi
READING EMAILS Problem with installer made in VS 2003.NET write Override methods in Code Editor VS2005 Can we run Vb.Net Application on Apple Macintosh ? StreamReader does not read all characters... Force ASP.NET shadow directory to update? Null value with memo field, error Icons on the menus VB.Net MainMenu Control |
|||||||||||||||||||||||