Making a panel and its contents transparent



Hi guys,

I'm coding an app that draws a little circle every time a user clicks
the mouse. This is fine and working. However, I want to be able to
toggle all the circles between visible and invisible.

The best way I can think of is to create one big panel and put all my
other panels containing their components inside it, then make a
checkbox that sets that big panel's opacity to false. I do this, but
the panel remains exactly the same.

I thought it might have been a repaint() problem, so I tried making
the panel not opaque at initialization, but all the components inside
still remain visible.

Am I missing something obvious?

Thanks,
Kaish

.



Relevant Pages

  • Re: cutting accurate canister light holes in celing
    ... Put charcoal on the edge of the cans, then hold the panel against the ... Cut on the circle. ... I will be putting either wood ceiling panels or drywall up on ...
    (alt.home.repair)
  • Re: WTB: Firepower 2 front speaker panel for back-box
    ... Let me qualify what I was looking for. ... I just need the center circle ... as the rest of my panel is good. ... The trick will be ...
    (rec.games.pinball)
  • Graphics2D rotation
    ... midpoint of the circle being (radius, ... to the midpoint of the circles, not with respect to the panel. ...
    (comp.lang.java.programmer)
  • Newbie wxPython questions.
    ... BAsed on the tute in the getting started wiki I created a panel that ... close the app. ... I have attempted to place this on teh frame by ... def EvtCheckBox: ...
    (comp.lang.python)
  • Re: Problem while debugging
    ... I must say that if I don't have any breakpoint the app behaves ... one panel each... ... >> When I'm debugging and somewhere in the code I have a breakpoint, ...
    (microsoft.public.dotnet.languages.vb)