Description | Hierarchy | Fields | Methods | Properties |
type TAdBitmapButton = class(TAdComponent)
A simple button, which uses bitmap resources to draw.
![]() |
constructor Create(AParent:TAdComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure LoadFromXML(aroot:TAdSimpleXMLElem); override; |
![]() |
function SaveToXML(aroot:TAdSimpleXMLElems): TAdSimpleXMLElem; override; |
![]() |
property State: TAdButtonState read FState; |
![]() |
property ImgNormal: TAdResourceImage read FImgNormal; |
![]() |
property ImgHover: TAdResourceImage read FImgHover; |
![]() |
property ImgDown: TAdResourceImage read FImgDown; |
![]() |
property ImgDisabled: TAdResourceImage read FImgDisabled; |
![]() |
property ImgCheckedHover: TAdResourceImage read FImgCheckedHover; |
![]() |
property Down: boolean read FDown write SetDown; |
![]() |
property CheckButton: boolean read FCheckButton write FCheckButton; |
![]() |
property AutoSize: boolean read FAutoSize write FAutoSize; |
![]() |
property GroupIndex: integer read FGroupIndex write SetGroupIndex; |
![]() |
constructor Create(AParent:TAdComponent); override; |
Creates an instance of TAdBitmapButton. |
![]() |
destructor Destroy; override; |
Destroys the instance of TAdBitmapButton. |
![]() |
procedure LoadFromXML(aroot:TAdSimpleXMLElem); override; |
Loads the settings and pictures from XML |
![]() |
function SaveToXML(aroot:TAdSimpleXMLElems): TAdSimpleXMLElem; override; |
Stores the settings and pictures in XML |
![]() |
property State: TAdButtonState read FState; |
Returns the state of the button. See also
|
![]() |
property ImgNormal: TAdResourceImage read FImgNormal; |
The image, which is used to draw the button in its normal state. |
![]() |
property ImgHover: TAdResourceImage read FImgHover; |
The image, which is used to draw the button in its hover state |
![]() |
property ImgDown: TAdResourceImage read FImgDown; |
The image, which is used to draw the button when it is down. |
![]() |
property ImgDisabled: TAdResourceImage read FImgDisabled; |
The image, which is used to draw the button when it is disabled. |
![]() |
property ImgCheckedHover: TAdResourceImage read FImgCheckedHover; |
The image, which should be drawn when the button is down (checked) and hovered. |
![]() |
property Down: boolean read FDown write SetDown; |
Set wether the button should be down. Only possible, if groupindex is unequal zero or checkbutton is true |
![]() |
property CheckButton: boolean read FCheckButton write FCheckButton; |
Set this to true, if the button should behave like a checkbox. |
![]() |
property AutoSize: boolean read FAutoSize write FAutoSize; |
If true, the button is sized to the size of the "normal" image. |