[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ButtonPanel' (#lcl)

TButtonPanel

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a panel with Bitmap Button instances.

Declaration

Source position: buttonpanel.pas line 120

type TButtonPanel = class(TCustomButtonPanel)

published

  property Align: TAlign;

  

Indicates the alignment used for the panel relative to the owner for the panel.

  property Anchors: TAnchors;

  

The set of anchor definitions for this control.

  property AutoSize: Boolean;

  

Indicates if the panel can automatically adjust its size.

  property BorderSpacing: TControlBorderSpacing;

  

Determines the inner and outer border spacing for this control.

  property Constraints: TSizeConstraints;

  

Contains the minimum and maximum Width and Height for the control.

  property Enabled: Boolean;

  

Determines whether the control responds to mouse or keyboard input.

  property OKButton: TPanelBitBtn;

  

OKButton - a button with the caption 'OK' signifying acceptance by the user.

  property HelpButton: TPanelBitBtn;

  

HelpButton - a button with the 'Help' caption, for requesting help.

  property CloseButton: TPanelBitBtn;

  

CloseButton - a button with the 'Close' caption for terminating the Form or panel.

  property CancelButton: TPanelBitBtn;

  

CancelButton - a button with the 'Cancel' caption for cancelling the operation.

  property Color: TColor;

  

Contains the background color for the panel.

  property ButtonOrder: TButtonOrder;

  

ButtonOrder - the order in which the series of buttons will appear on the panel.

  property TabOrder: TTabOrder;

  

Indicates the navigation order for the control when the user presses the Tab or Shift+Tab key.

  property DefaultButton: TPanelButtonEx;

  

The default button executed when Enter or Return are pressed.

  property Spacing: TSpacingSize;

  

Contains the spacing around buttons and bevels on the panel.

  property OnClick: TNotifyEvent;

  

Notification handler for mouse clicks.

  property OnDblClick: TNotifyEvent;

  

Event handler signalled when a mouse double click occurs in the control.

  property OnDragDrop: TDragDropEvent;

  

Event handler signalled when an object is dropped onto the control.

  property OnEnter: TNotifyEvent;

  

Event handler signalled when the control receives focus.

  property OnExit: TNotifyEvent;

  

Event handler signalled when the control loses focus.

  property OnKeyDown: TKeyEvent;

  

Event handler signalled for key down keyboard events.

  property OnKeyPress: TKeyPressEvent;

  

Event handler signalled for character data entered by the user.

  property OnKeyUp: TKeyEvent;

  

Event handler signalled when a key up event has occurred for the control.

  property OnMouseDown: TMouseEvent;

  

Event handler signalled when a mouse down event is handled for the control.

  property OnMouseEnter: TNotifyEvent;

  

Event handler signalled when the mouse pointer has entered the control.

  property OnMouseLeave: TNotifyEvent;

  

Event handler signalled when the mouse pointer has left the control.

  property OnMouseMove: TMouseMoveEvent;

  

Event handler signalled when the mouse pointer is moved in the control.

  property OnMouseUp: TMouseEvent;

  

Event handler signalled when a mouse up event is handled for the control.

  property OnMouseWheel: TMouseWheelEvent;

  

Event handler for mouse wheel turned.

  property OnMouseWheelDown: TMouseWheelUpDownEvent;

  

Event handler signalled for a downward movement of the mouse wheel.

  property OnMouseWheelUp: TMouseWheelUpDownEvent;

  

Event handler signalled for an upward movement of the mouse wheel.

  property OnResize: TNotifyEvent;

  

Notification handler for a resize of the control.

  property OnUTF8KeyPress: TUTF8KeyPressEvent;

  

Handler for a character entered by the user.

  property ShowButtons: TPanelButtons;

  

Indicates the buttons displayed on the panel.

  property ShowGlyphs: TPanelButtons;

  

Indicates the panel buttons displayed with Glyphs (small images).

  property ShowBevel: Boolean;

  

Indicates if a bevel is displayed for the button panel.

  property Visible: Boolean;

  

Allows the control, and all of its children, to be displayed or hidden.

end;

Inheritance

TButtonPanel

  

Implements a panel with Bitmap Button instances.

|

TCustomButtonPanel

  

Defines the base class for TButtonPanel.

|

TCustomPanel

  

The base class for a general container which can hold other objects. It has a customizable border and a central text.

|

TCustomControl

  

The base class for windowed controls which paint themselves.

|

TWinControl

  

Implements a windowed control which can contain other child controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components which have an associated widget.

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TButtonPanel is a TCustomButtonPanel descendant which implements a panel containing buttons with glyph images. Buttons are provided for OK, Help, Close, and Cancel operations. Other properties are provided to control the display order for the buttons, the default button for the panel, visibility of the available buttons, and the use of glyphs.

See also

TCustomButtonPanel

  

Defines the base class for TButtonPanel.


Version 3.2 Generated 2024-02-25 Home