Showing results 1 to 2 of 2

Thread: Form visual style windows XP/7

  1. #1
    Join Date
    07.07.2010
    Posts
    9

    Default Form visual style windows XP/7

    In a windows form I make the background color yellow of somecombolist from a datagridview

    In windows XP it change to yellow but in Windows 7 it change to the theme color.

    I use the following code to change the background color:

    dgv_tbGemaalKoppeling[dgv_BronGemaal_IDColumn.Index, 0].Style.BackColor = Color.Yellow;

    In the attachment you can find the diffrents, left is Win 7 and right Win XP

    How can I disable this windows 7 theme and use my own color yellow
    Attached Thumbnails Attached Thumbnails Form visual style.JPG  

  2. #2

    Default Re: Form visual style windows XP/7

    have you tried setting the theme in Windows 7 to "windows classic"?

Similar Threads

  1. Form visual fault
    By ippela in forum VSTA
    Replies: 2
    Last Post: 23rd September 2011, 09:20
  2. Replies: 1
    Last Post: 3rd August 2010, 10:02
  3. how open vipwin from visual basic?
    By draganchem in forum VBA
    Replies: 1
    Last Post: 2nd June 2010, 12:14
  4. Replies: 0
    Last Post: 12th May 2010, 09:58
  5. Input Values in Elements Windows Style
    By acko01 in forum zenon Supervisor
    Replies: 2
    Last Post: 27th October 2009, 17:31

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •