Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Wed, 23 Apr 2008 09:29:57 +0200,    group: microsoft.public.dotnet.framework.windowsforms.designtime        back       


User-control with multiple control containers - design-time issue (mimicing the TabControl)   
Hi everybody,

I'm working on a user-control whose behaviour is identical to the
TabControl. That is, there is an area in which the active sub-container
(i.e. TabPage) can be selected plus an area in which users drop controls at
design time.

Browsing the web I found a couple of articles that are geared at enabling
your control so that it works as a container at design time. I.e.:
http://support.microsoft.com/?scid=kb%3Ben-us%3B813450&x=7&y=14
Und:
http://blogs.msdn.com/subhagpo/archive/2005/03/21/399782.aspx

With the help of these articles I was able to have the first TabPage act as
expected. However, I cannot seem to find a way of tweaking the designer so
that, when a different TabPage is being selected, that selected TabPage is
selectable so that I one can drop controls into it.

Any hinters greatly appreciated ... 

Cheers,
Olaf
date: Wed, 23 Apr 2008 09:29:57 +0200   author:   Olaf Rabbachin

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us