Solved

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

Posted on 2003-11-15
5
377 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
Comment Utility
0
 
LVL 6

Expert Comment

by:purpleblob
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Good links and advice, I look forward to SP2 but can get by from these examples.
Thanks again
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
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:…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 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

14 Experts available now in Live!

Get 1:1 Help Now