Vcl.ExtCtrls.TPanel

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ExtCtrls.TCustomPanelVcl.Controls.TCustomControlVcl.Controls.TWinControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTPanel

Delphi

TPanel = class(TCustomPanel)

C++

class PASCALIMPLEMENTATION TPanel : public TCustomPanel

Properties

Type Visibility Source Unit Parent
class public
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls Vcl.ExtCtrls

Description

TPanel implements a generic panel control.

Use TPanel to put an empty panel on a form. Panels have properties for providing a beveled border around the control, as well as methods to help manage the placement of child controls embedded in the panel.

You can also use panels to group controls together, similar to the way you can use a group box, but with a beveled border (or no border) rather than the group box outline. Panels are typically used for groups of controls within a single form. If you intend to use the same grouping in other forms, you may want to use a frame instead.

Panels with no borders are useful as docking sites when writing applications that use drag-and-dock.

Although you can use a panel to implement a status bar or tool bar, it is recommended that you use the TToolBar and TStatusBar classes instead.

See Also