panel.alpha

Determines the transparency of a transparent panel. At 0 the panel is totally transparent, at 100 it is totally intransparent. Panel elements like buttons inherit the alpha value from the panel. This way panels, buttons etc. can smoothly be faded in and out.

Range:

0 .. 100 (default: 50)

Type:

var

Remarks:

Example:

my_panel.transparent = ON;
my_panel.alpha = 0; // Panel 100% transparent
while (my_panel.alpha < 100)
{
  my_panel.alpha += 20*time_step; 
  wait(1);
}
my_panel.transparent = OFF;    

See also:

panel, bmap, layer, pos_x, pos_y, flags, button, vslider, hslider, window, digits, mouse_map, on_click

► latest version online