all groups > dotnet compact framework > january 2006 >
You're in the

dotnet compact framework

group:

Type name appears in control designer surface (instead of painting normally)!


Type name appears in control designer surface (instead of painting normally)! Capital O
1/6/2006 3:38:16 PM
dotnet compact framework: This is really weird. The custom controls that I have put all over my
forms, PictureButton and TextField, now suddenly display a border with
their full type name within that border instead of displaying correctly
on the form designer. For example, all of my PictureButtons say
"Panatrack.CF.Cotnrols.PictureButton" instead of their Text property
value, and have a white background.

What's happening? What did I do? I was making some small changes to
ONE of the controls, and now they both have freaked out on me. I tried
commenting out the changes and recompiling, but have had no luck. I
removed them from the toolbox and added them back in manually, but that
didn't fix it. However, when I run the application, everything appears
and behaves correctly!

Has this happened to anyone else? Any fixes?

PocketPC 2003, CF 2.0
Re: Type name appears in control designer surface (instead of painting normally)! Tim Wilson
1/6/2006 6:57:43 PM
There is a new designer paradigm in VS 2005. What you're seeing is the
"ghosted" (safe) version of your control on the design surface. See the
article at the link below, and the articles that it links to, for more
information.
http://www.mooseworkssoftware.com/VS2005%20Control.htm

--
Tim Wilson
..NET Compact Framework MVP

[quoted text, click to view]

AddThis Social Bookmark Button