Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Two Q's re Color objects on a CF.Net 2.0 form.... [modified]

Two Q's re Color objects on a CF.Net 2.0 form.... [modified]

Scheduled Pinned Locked Moved Mobile
questioncsharpwinformstutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nzmike
    wrote on last edited by
    #1

    First question: how can I set the background of a DateTimePicker control to a particular colour? Since there's no BackColor property I guess the only option is to create a custom control and override Paint or OnPaintBackground right? Anyone got a better (simpler!) idea on how I can do this? Second question: I have a config file which I load up at app initializtion which defines the colour names for things like form background, default text color, button color, etc, etc. I want to convert the names of those colors (eg: AliceBlue) into a Color object but I'm not sure how to do that... it must be simple but nothing I've tried works. I think you can do this in normal winforms but not in CF.Net AFAICS. Cheers, Mike -- modified at 3:29 Friday 28th July, 2006

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups