The lack of a color picker dialog in the .NET CF(yes, the desktop framework has a ColorPicker class – but .NET CF doesn’t contain it) has annoyed hell out of me for quite some time – even the 10yr old Palm OS contains a well-done color picker. Anyways, problems are here to be solved – please allow me to present you my own ColorPicker(running in .NET CF 2.0 on a hp rx4240, blots are due to GIF compression):
scr A color picker for .NET CF

Using this is very simple – just download the form file here and integrate it into your project like you would do with any other form.

Then, do the following to make the user pick a color:

Dim colorX as color
colorX = ColorPicker.getcolor()

Feel free to do with this code whatever you feel like. However, no warranties are given on anything….and posting a link to an app that uses it always is appreciated!

Related posts:

  1. Paint me Blue, Cyan Blue- Hot color for Lumia 900
  2. ComboBox.FindString for .NET CF
  3. Resco Photo Viewer updated, color selector bug fixed
  4. Creating a dialog/popup form in .net CF
  5. ATTENTION: download WM 6/WM 6.1 upgrades NOW

15 Responses to “A color picker for .NET CF”

  1. Nice Work :)

  2. Hi,
    it was a pleasure!

    Best regards
    Tam Hanna

  3. Thanks! You really sped up the dev process for the settings on my most recent project :)

    Drew G

  4. Hi,
    it was a pleasure! Hope you enjoy TamsPPC!

    Tam Hanna

  5. Hi Tam,

    I am one of the deloper of PocketFreemind. Just try out your code (wrapped it as a user control and using it in c# project).

    It works nicely, it probably will stick and used on the next release.

    Thanks for the code.

  6. Hi rollone,
    it was a pleasure!

    Please let me know when the thing goes live!

    All the best
    Tam Hanna

  7. Hi Tam,

    Thanks from another user whose work you have made much easier! Similar to Rollone above, I wrapped your code in a C# library and am using it successfully in a (free) program I’m getting ready to release (SharpSword). I’ll definitely credit your work!

  8. Wow, this is great. It is so disappointing MS did not address this in CF directly!

  9. Hi Folks,
    it was a pleasure!

    All the best
    Tam Hanna

  10. PocketFreemind 0.6.0 Beta 1 is out, featuring this colorpicker :) . Check it out here :

    Thanks again for the code.

  11. Hi rollone,
    thank you so much – will get reviewing in a jiffy!

    All the best
    Tam Hanna

  12. Hi… Can you please check the link to the colour picker file, as the download I’m getting says it’s “not a valid zip archive, please redownload”. This little app is just what I’m looking for. Thank you.

  13. Hi,
    I just did so and found out that it works. However, I also sent an email to Graham and hope to hear from him soon!

    All the best
    Tam Hanna

  14. Hello,

    I have the same problem with the zip file, in windows vista.
    If I open it with windows explorer, I get a message saying it’s an invalid file. If I try with winrar, I get a file with no extension and gibberish in it.

    If it’s not a problem, please email me the control. It looks nice, and I would like to use it on my paint app!

  15. Hi,

    How can i wrap and be able to use this project in my c# smartdevice project? I can’t seem to make it work.

    Thanks a lot!

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

© 2013 TamsPPC - the Windows Phone Blog Suffusion theme by Sayontan Sinha