[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'fpg_panel' (#fpgui)

TfpgPanel

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

Draws a panel with various borders and has a text label

Declaration

Source position: fpg_panel.pas line 112

type TfpgPanel = class(TfpgAbstractPanel)

public

  constructor Create(); override;

  destructor Destroy; override;

  function GetClientRect; override;

  property Font: TfpgFont; [r]

published

  property AcceptDrops: Boolean;

  property Align: TAlign;

  property Alignment: TAlignment; [rw]

  property BackgroundColor: TfpgColor;

  property BorderStyle: TPanelBorder;

  property Enabled: Boolean;

  property FontDesc: string; [rw]

  property Height: TfpgCoord;

  property Hint: TfpgString;

  property Layout: TLayout; [rw]

  property Left: TfpgCoord;

  property LineSpace: Integer; [rw]

  property Margin: Integer; [rw]

  property MaxHeight: TfpgCoord;

  property MaxWidth: TfpgCoord;

  property MinHeight: TfpgCoord;

  property MinWidth: TfpgCoord;

  property ParentBackgroundColor: Boolean;

  property ParentShowHint: Boolean;

  property ShowHint: Boolean;

  property Style: TPanelStyle;

  property Text: string; [rw]

  property TextColor: TfpgColor;

  property Top: TfpgCoord;

  property Width: TfpgCoord;

  property WrapText: Boolean; [rw]

  property OnClick: TNotifyEvent;

  property OnDoubleClick: TMouseButtonEvent;

  property OnDragDrop: TfpgDragDropEvent;

  property OnDragEnter: TfpgDragEnterEvent;

  property OnDragLeave: TNotifyEvent;

  property OnDragStartDetected: TNotifyEvent;

  property OnMouseDown: TMouseButtonEvent;

  property OnMouseMove: TMouseMoveEvent;

  property OnMouseScroll: TMouseWheelEvent;

  property OnMouseUp: TMouseButtonEvent;

  property OnPaint: TPaintEvent;

  property OnResize: TNotifyEvent;

  property OnShowHint: THintEvent;

end;

Inheritance

TfpgPanel

  

Draws a panel with various borders and has a text label

|

TfpgAbstractPanel

  

Base class for a Panel, Bevel etc

|

TfpgWidget

  

This forms the basis of any visual widget in fpGUI

|

TfpgWindow

  

Encapsulates a top level or child window

|

TfpgWindowImpl

  

Maps to a backend specific base class

|

TfpgX11Window

  

Implements XLib specific windowing functionality

|

TfpgWindowBase

  

Abstract class use for representing a Window or Widget

|

TfpgComponent

  

A descendant of the FPC TComponent class

|

TComponent

?

TObject

Description

Draws a panel with various borders and has a text label. If you don't need the text label, then it is recommended that you rather use the TfpgBevel widget.

See also

TfpgBevel

  

Draws a panel with various borders


Documentation generated on: 2015-04-04