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

TfpgButton

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

Concrete button class used in user interfaces to represent a push button

Declaration

Source position: fpg_button.pas line 135

type TfpgButton = class(TfpgBaseButton)

published

  property Align: TAlign;

  property AllowAllUp: Boolean;

  property AllowDown: Boolean;

  property AllowMultiLineText: Boolean;

  property BackgroundColor: TfpgColor;

  property Default: Boolean;

  property Down: Boolean;

  property Embedded: Boolean;

  property Enabled: Boolean;

  property Flat: Boolean;

  property FontDesc: string;

  property GroupIndex: Integer;

  property Height: TfpgCoord;

  

Specifies the vertical size of the control or form in pixels

  property Hint: TfpgString;

  property ImageLayout: TImageLayout;

  

Defines where on the button the image will be displayed

  property ImageMargin: Integer;

  property ImageName: string;

  

The registered name of a image to display on the button

  property ImageSpacing: Integer;

  

The spacing between the Image and the Text

  property Left: TfpgCoord;

  

Specifies the horizontal coordinate of the left edge of a component relative to its parent

  property MaxHeight: TfpgCoord;

  property MaxWidth: TfpgCoord;

  property MinHeight: TfpgCoord;

  property MinWidth: TfpgCoord;

  property ModalResult: TfpgModalResult;

  property ParentShowHint: Boolean;

  property ShowHint: Boolean;

  property ShowImage: Boolean;

  property TabOrder: Integer;

  property Text: string;

  property TextColor: TfpgColor;

  property Top: TfpgCoord;

  property Width: TfpgCoord;

  property OnClick: TNotifyEvent;

  property OnDragEnter: TfpgDragEnterEvent;

  property OnDragLeave: TNotifyEvent;

  property OnDragDrop: TfpgDragDropEvent;

  property OnDragStartDetected: TNotifyEvent;

  property OnEnter: TNotifyEvent;

  property OnExit: TNotifyEvent;

  property OnKeyPress: TKeyPressEvent;

  property OnMouseDown: TMouseButtonEvent;

  property OnMouseExit: TNotifyEvent;

  property OnMouseEnter: TNotifyEvent;

  property OnMouseMove: TMouseMoveEvent;

  property OnMouseUp: TMouseButtonEvent;

  property OnShowHint: THintEvent;

end;

Inheritance

TfpgButton

  

Concrete button class used in user interfaces to represent a push button

|

TfpgBaseButton,ICommandHolder

  

Base class that represents a push button control

|

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

Concrete button class used in user interfaces to represent a push button. This class is a descendant of TfpgBaseButton and simply publishes various properties for runtime type information.

See also

TfpgBaseButton

  

Base class that represents a push button control


Documentation generated on: 2015-04-04