Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
Setting form color
Old
  (#1)
kerry
Guest
 
Posts: n/a
Default Setting form color - 06-04-2007, 10:31 AM

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...




   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Setting form color
Old
  (#2)
Rick Rothstein \(MVP - VB\)
Guest
 
Posts: n/a
Default Re: Setting form color - 06-04-2007, 10:31 AM

> 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


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Setting form color
Old
  (#3)
Steve Gerrard
Guest
 
Posts: n/a
Default Re: Setting form color - 06-04-2007, 10:31 AM


"kerry" <EMAIL REMOVED> wrote in message news:H9APg.13$EMAIL REMOVED...
> 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.



   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top