Setting form color

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kerry

    #1

    Setting form color

    When running my programs the forms of the program change background color as
    I change the computers (XP) color selection - is there a simple way to have
    the form colors stay at what I determined as a background color when
    building the program, rather than having the systems color settings
    influence them?

    Thanks for any help...




  • Rick Rothstein \(MVP - VB\)

    #2
    Re: Setting form color

    When running my programs the forms of the program change background color
    as I change the computers (XP) color selection - is there a simple way to
    have the form colors stay at what I determined as a background color when
    building the program, rather than having the systems color settings
    influence them?
    Users choose their color schemes in Windows because, well, that is what they
    want to see. You may not like the colors they selected, but so what, it is
    their computer and they are entitled to set it up as they like. Your trying
    to impose your own sense on what they should see by overriding the user's
    settings is considered rude. You should adapt your program to work with the
    user's Window settings, not the other way around.

    Rick


    Comment

    • Steve Gerrard

      #3
      Re: Setting form color


      "kerry" <none@none.nonw rote in message news:H9APg.13$6 p3.2@newsfe03.l ga...
      When running my programs the forms of the program change background color as I
      change the computers (XP) color selection - is there a simple way to have the
      form colors stay at what I determined as a background color when building the
      program, rather than having the systems color settings influence them?
      >
      I agree with Rick's reply. But in fact, the BackColor, for instance, won't
      change if you have set it to a palette color, such as Blue. It will change if
      you have set it to a system color, such as Button Face. It sounds like you have
      chosen Button Face as your form BackColor, which will be the color the user
      chooses for button faces.



      Comment

      Working...