Recent

Author Topic: Canvas problems  (Read 126 times)

dasa2

  • New member
  • *
  • Posts: 6
Canvas problems
« on: November 13, 2019, 08:55:54 pm »
Let's say i have a panel with a color set i also have a label in the panel with transparent background.
When i draw to the panels canvas the label disappear, but is possible to get back with a repaint but is no longer transparent?

How can i make the label transparent again?

Thaddy

  • Hero Member
  • *****
  • Posts: 9278
Re: Canvas problems
« Reply #1 on: November 13, 2019, 09:04:36 pm »
Don't paint directly. Use OnPaint.
also related to equus asinus.