|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Label in custom controlI have a custom control that includes a Label as one of its properties. During design-time I am able to modify the values of various properties of the custom control, including Font, Location, .. of the Label property. This all works very well with VS 2003. Recently I created the same custom control with VS 2005 and built it successfully. However during design-time the Label property appears in the property window but is in grey and I can not modify it or do anything with it. I only have the problem with the Label property and all my other properties are just fine. Is any special treatment needed when working with VS 2005? I searched everywhere for information but found none. Any help or insight is very much appreciated. P.S. My project is for Windows CE, so I work with the .NET Compact Framework. Thanks JC There's a new design-time paradigm for smart device custom controls in VS
2005. See if the information at the link below gets you back on track. http://www.mooseworkssoftware.com/VS2005%20Control.htm -- Show quoteTim Wilson ..NET Compact Framework MVP "jcavo" <jin.coo***@megger.com> wrote in message news:OHRcq4sQGHA.2536@tk2msftngp13.phx.gbl... > Hi All, > > I have a custom control that includes a Label as one of its properties. > During design-time I am able to modify the values of various properties of > the custom control, including Font, Location, .. of the Label property. > This all works very well with VS 2003. Recently I created the same custom > control with VS 2005 and built it successfully. However during design-time > the Label property appears in the property window but is in grey and I can > not modify it or do anything with it. I only have the problem with the > Label property and all my other properties are just fine. Is any special > treatment needed when working with VS 2005? I searched everywhere for > information but found none. Any help or insight is very much appreciated. > > > > P.S. My project is for Windows CE, so I work with the .NET Compact > Framework. > > > > Thanks > > JC > > |
|||||||||||||||||||||||