[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2972: The Opacity property of Image does not work


http://gambaswiki.org/bugtracker/edit?object=BUG.2972&from=L21haW4-

Comment #1 by Bruce STEERS:

' With Paint
  '   .Begin(im)
  '   .Opacity = 0.2
  '   .End
  ' End With
  
  ' im.Opacity(0.2) ' <--- this is the only one that works
  PictureBox1.Image = im

The top code is using Paint.Opacity not Image.Opacity but you do not paint anyting

You would set Paint.Opacity then use a Paint instruction to paint something.

The lower code (that works) is correct


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----