Solved

.NET Compact Framework - No BackColor setting on Buttons. Workaroud before SP2 ?

Posted on 2003-11-15
5
386 Views
Last Modified: 2012-08-13
Hi

Anyone developing PPC2002 software using VS.NET (C#) must be pretty disapointed that the Button control can only be Gray. Using eMbedded VB etc the ForeColor and BackColor of the controls can be readily set. According to MS the compact framework SP2 corrects this however the SP has been recalled and SP1 does not provide the enhancements.

Does anyone know of a workaround seeming as there is NO CustomControl option in the Compact Framework

Hope someone can help

Stu
0
Comment
Question by:nvms
  • 3
  • 2
5 Comments
 

Author Comment

by:nvms
ID: 9755066
0
 
LVL 6

Expert Comment

by:purpleblob
ID: 9757941
Yes SP2 is mean't to have addressed this issue but then MS have stopped the release of SP2.

Anyway the way around this would be to either use a picture box or create your own custom control and make it act like a button.
0
 

Author Comment

by:nvms
ID: 9758131
Thanks for the comment, the Compact Framework does not support custom controls so I may wait until the SP2 is released.
0
 
LVL 6

Accepted Solution

by:
purpleblob earned 50 total points
ID: 9758360
The compact framework does support the ability to create your own controls simply derive from Control however you need to do a little more work to create the design time capabilities.

Here's a couple of links which may help out

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/animationcontrol.asp
http://jonne.e-volve.nl/customcontrolscf.htm
0
 

Author Comment

by:nvms
ID: 9776117
Good links and advice, I look forward to SP2 but can get by from these examples.
Thanks again
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
A short film showing how OnPage and Connectwise integration works.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now