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

TGenericButton

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

Defines a button that could be embedded in another component.

Declaration

Source position: buttons.inc line 22

type TGenericButton = class(TWidget)

protected

  FEmbedded: Boolean;

  

  procedure Paint(); override;

  

Draw the blank button face on the canvas.

public

  constructor Create(); override;

  

  property Embedded: Boolean; [rw]

  

end;

Inheritance

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

This class defines a button that could be embedded in another component. No default minimum size gets applied either. This is the most basic button you can use. Example of usage: The TScrollbar and TComboBox components use TGenericButtons.

See also

TCustomButton

  

Used to create new custom type of button components

TButton