Solved

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

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

Suggested Solutions

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
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 is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

816 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