0

I have a form that has a custom TabControl which it's tabs are invisible, so i can move to others tabs programmatically. However, I'm facing an issue. I want to slowly dim the current tab (when moving to a new one), and once it's completely black, move to the new tab, and then slowly make the black disappear so the new tab appears.

I thought about making a transparent picturebox color on the whole tab page (and on the second one), and then once moving, start a timer that sets it's back color to black and increases opacity from 0 to 100 (so it's turning black) - and then move to the new page, and reduce the opacity from 100 to 0. However, there's no opacity property in picturebox control. Is there a workaround?

pravprab
  • 2,301
  • 3
  • 26
  • 43
user3265040
  • 305
  • 1
  • 4
  • 11

0 Answers0