Show: Delphi C++
Display Preferences

Vcl.ExtCtrls.TCustomPanel

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Controls.TCustomControlVcl.Controls.TWinControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCustomPanel

Delphi

TCustomPanel = class(TCustomControl)

C++

class PASCALIMPLEMENTATION TCustomPanel : public Vcl::Controls::TCustomControl

Properties

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

Description

TCustomPanel is the base class for all panel components.

Use TCustomPanel as a base class when defining objects that include other controls as constituent parts. Panel components are controls can contain other controls, grouping them together.

When a panel is aligned with the form using the Align property, it maintains the same relative position to the form even when the form is resized. For example, a panel can be aligned so that it always remains on the top of the form, even when the user changes the shape and size of the form. This makes panels useful for implementing components that act like tool bars or status bars. For example, construct a tool bar or tool palette by adding speed buttons that execute commands or set modes to a panel .

See Also

Personal tools
In Other Languages
Previous Versions
Assistance