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
Solved

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

Posted on 2003-11-15
5
400 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
.net and XML report from SCCM 5 41
C# LINQ ForEach() question 6 53
Need help deploying my first MVC.Net app with a SQL Server backend 3 25
Groupbox Control ? 2 17
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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