?
Solved

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

Posted on 2003-11-15
5
Medium Priority
?
418 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

How To Reduce Deployment Times With Pre-Baked AMIs

Even if we can't include all the files in the base image, we can sometimes include some of the larger files that we would otherwise have to download, and we can also sometimes remove the most time-consuming steps. This can help a lot with reducing deployment times.

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

771 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