Main Site Documentation

Making a button invisible


#1

Hi,

How do I make a button (or any other DisplayObject) invisible.
I tried:

button.Visible = false;
button.Invalidate();

but this doesn’t work.

Peter


#2

After changing the invisibility do window.Invalidate();