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. General Programming
  3. C#
  4. ToolStripStatusLabel gets painted with background color of underlying form

ToolStripStatusLabel gets painted with background color of underlying form

Scheduled Pinned Locked Moved C#
helpcsharpdotnetquestion
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.
  • B Offline
    B Offline
    Bliedtke
    wrote on last edited by
    #1

    I have another problem that has me perplexed. I have a ToolStripStatusLabel on a StatusStrip. I change the BackColor of the form that the StatusStrip is on. The ToolStripStausLabel's background is painted in the form's BackColor. I created an event handler for the BackColorChanged event on the ToolStripStatusLabel and it is never fired. I then created an event handler for the Paint event of the ToolStripStatusLabel. It gets fired. I check the BackColor of the ToolStripStatusLabel and it is the same as that for the StatusStrip. But the background of the ToolStripStatusLabel is still painted in the BackColor of the containing form. So I am either missing something, or I have discovered a bug in the .NET framework. Has anyone encountered something like this before? Brian

    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