Panel Control

This component provides a way of grouping other components so that they can be displayed and hidden as a group, all together at the same time.

Any components required can be added to the panel and then displayed or hidden as a group with a line such as:

panel1.visible:=true;
panel1.visible:= false;

You might use a panel to issue a warning and offer a choice of options about an action chosen by the user (this could also be done via a message box).

There is an example of the use of a Panel in the Traffic Lights page.

Back to Tutorial

Back to Palette List