Class TFireCustomComboEdit

Unit

Declaration

type TFireCustomComboEdit = class(TTextControl)

Description

Hierarchy

Overview

Fields

Protected FPopup: TFirePopupBase;
Protected FIcon: TBitmap;
Protected FModified: Boolean;
Protected FInitPopupSize: Boolean;

Methods

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public function IsModified: Boolean;
Public procedure SetModified(Modified: Boolean);
Public procedure ShowPopup; virtual;
Public procedure ClosePopup;
Public function IsOkButtonVisible: Boolean;
Public procedure SetOkButtonVisible(Visible: Boolean);
Public function IsCancelButtonVisible: Boolean;
Public procedure SetCancelButtonVisible(Visible: Boolean);
Public function IsCrossButtonVisible: Boolean;
Public procedure SetCrossButtonVisible(Visible: Boolean);
Public procedure DropDown; virtual;
Protected procedure ApplyStyle; override;
Protected function GetDefaultStyleLookupName: String; override;
Protected function GetDefaultSize: TSizeF; override;
Protected function GetEditorWidget: TControl; virtual; abstract;
Protected procedure UndoModified; virtual; abstract;
Protected function GetIcon: TBitmap;
Protected procedure SetIcon(const Bitmap: TBitmap);
Protected procedure SaveDefaultState; virtual;
Protected procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override;
Protected procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override;
Protected procedure KeyDown(var Key: Word; var KeyChar: WideChar; Shift: TShiftState); override;
Protected procedure PaintContent(Sender: TObject; Canvas: TCanvas; const ARect: TRectF);
Protected procedure UpdatePopupButtons;
Protected procedure DeactivatePopupForm(Sender: TObject);
Protected procedure DoPopupClose; virtual;
Protected procedure DoArrowButtonClick(Sender: TObject);
Protected procedure DoClearButtonClick(Sender: TObject);
Protected function HasClearButton: Boolean;

Properties

Public property OnDataChange: TNotifyEvent read FOnDataChange write FOnDataChange;
Public property Modified: Boolean read IsModified write SetModified default False;
Public property Icon: TBitmap read GetIcon write SetIcon;
Public property ShowClearButton: Boolean read FShowClearButton write SetShowClearButton default False;

Description

Fields

Protected FPopup: TFirePopupBase;
 
Protected FIcon: TBitmap;
 
Protected FModified: Boolean;
 
Protected FInitPopupSize: Boolean;
 

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Public function IsModified: Boolean;
 
Public procedure SetModified(Modified: Boolean);
 
Public procedure ShowPopup; virtual;
 
Public procedure ClosePopup;
 
Public function IsOkButtonVisible: Boolean;
 
Public procedure SetOkButtonVisible(Visible: Boolean);
 
Public function IsCancelButtonVisible: Boolean;
 
Public procedure SetCancelButtonVisible(Visible: Boolean);
 
Public function IsCrossButtonVisible: Boolean;
 
Public procedure SetCrossButtonVisible(Visible: Boolean);
 
Public procedure DropDown; virtual;
 
Protected procedure ApplyStyle; override;
 
Protected function GetDefaultStyleLookupName: String; override;
 
Protected function GetDefaultSize: TSizeF; override;
 
Protected function GetEditorWidget: TControl; virtual; abstract;
 
Protected procedure UndoModified; virtual; abstract;
 
Protected function GetIcon: TBitmap;
 
Protected procedure SetIcon(const Bitmap: TBitmap);
 
Protected procedure SaveDefaultState; virtual;
 
Protected procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override;
 
Protected procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override;
 
Protected procedure KeyDown(var Key: Word; var KeyChar: WideChar; Shift: TShiftState); override;
 
Protected procedure PaintContent(Sender: TObject; Canvas: TCanvas; const ARect: TRectF);
 
Protected procedure UpdatePopupButtons;
 
Protected procedure DeactivatePopupForm(Sender: TObject);
 
Protected procedure DoPopupClose; virtual;
 
Protected procedure DoArrowButtonClick(Sender: TObject);
 
Protected procedure DoClearButtonClick(Sender: TObject);
 
Protected function HasClearButton: Boolean;
 

Properties

Public property OnDataChange: TNotifyEvent read FOnDataChange write FOnDataChange;
 
Public property Modified: Boolean read IsModified write SetModified default False;
 
Public property Icon: TBitmap read GetIcon write SetIcon;
 
Public property ShowClearButton: Boolean read FShowClearButton write SetShowClearButton default False;
 

Generated by PasDoc 0.15.0.