PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Label in custom control

Reply

Label in custom control

 
Thread Tools Rate Thread
Old 08-03-2006, 04:33 PM   #1
jcavo
Guest
 
Posts: n/a
Default Label in custom control


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


  Reply With Quote
Old 08-03-2006, 05:57 PM   #2
Tim Wilson
Guest
 
Posts: n/a
Default Re: Label in custom control

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

--
Tim Wilson
..NET Compact Framework MVP

"jcavo" <jin.cooper@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
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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