Results 1 to 5 of 5

Thread: VB problem - BackColor and ForeColor are reversed

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    421

    VB problem - BackColor and ForeColor are reversed

    A weird problem arised yesterday after running a tutorial from www.gametutorials.com When I open VB now, the BackColor of the form is black, and the ForeColor is ButtonFace, but when I look at the properties window, it says that BackColor is ButtonFace, and ForeColor is black. It's only Forms, not any other control. I've tried restarting my computer but it didn't change.

    Anyone know what could have caused this? How about getting rid of it?
    [vbcode]
    ' comment
    Rem remark
    [/vbcode]

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I think before VB6 runs , it takes all default values from the registry so it must be some registry settings you can alter. But I don't know the exact path thought .

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    see if this would help :
    If you are using XP , then restore your system settings back to its good condition through "System Restore app" .

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    421
    Pirate: That still doesn't explain why it says that the BackColor is ButtonFace, and the ForeColor black on the properties window.

    I'll try the rollback, that should work. Thanks.
    [vbcode]
    ' comment
    Rem remark
    [/vbcode]

  5. #5
    Hyperactive Member MikeBAM's Avatar
    Join Date
    Sep 2000
    Location
    Metro Detroit
    Posts
    284
    maybe in the vbp file? maybe open it in notepad?
    ~* )v( ! /< E *~

Posting Permissions

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



Click Here to Expand Forum to Full Width