[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] Reference for unit 'fpGUI' (#fpgui)

TCustomButton

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

Used to create new custom type of button components

Declaration

Source position: buttons.inc line 32

type TCustomButton = class(TGenericButton)

protected

  procedure Paint(); override;

  

This draws the Text on the already draw button face.

  procedure CalcSizes; override;

  

Calculates the size of the button.

public

  constructor Create(); overload;

  

end;

Inheritance

TCustomButton

  

Used to create new custom type of button components

|

TGenericButton

  

Defines a button that could be embedded in another component.

|

TWidget

  

The TWidget class is the base class of all user interface objects.

|

TComponent

?

TObject

Description

Used to create new custom type of buttons normally used in dialogs and windows. There are also no properties published in this component and in has a default minimum width set to 75 pixels.

See also

TGenericButton

  

Defines a button that could be embedded in another component.

TButton