Class TFireCustomComboEdit
Unit
Declaration
type TFireCustomComboEdit = class(TTextControl)
Description
Hierarchy
- TTextControl
- TFireCustomComboEdit
Overview
Fields
FPopup: TFirePopupBase; |
|
FIcon: TBitmap; |
|
FModified: Boolean; |
|
FInitPopupSize: Boolean; |
Methods
constructor Create(AOwner: TComponent); override; |
|
destructor Destroy; override; |
|
function IsModified: Boolean; |
|
procedure SetModified(Modified: Boolean); |
|
procedure ShowPopup; virtual; |
|
procedure ClosePopup; |
|
function IsOkButtonVisible: Boolean; |
|
procedure SetOkButtonVisible(Visible: Boolean); |
|
function IsCancelButtonVisible: Boolean; |
|
procedure SetCancelButtonVisible(Visible: Boolean); |
|
function IsCrossButtonVisible: Boolean; |
|
procedure SetCrossButtonVisible(Visible: Boolean); |
|
procedure DropDown; virtual; |
|
procedure ApplyStyle; override; |
|
function GetDefaultStyleLookupName: String; override; |
|
function GetDefaultSize: TSizeF; override; |
|
function GetEditorWidget: TControl; virtual; abstract; |
|
procedure UndoModified; virtual; abstract; |
|
function GetIcon: TBitmap; |
|
procedure SetIcon(const Bitmap: TBitmap); |
|
procedure SaveDefaultState; virtual; |
|
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override; |
|
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override; |
|
procedure KeyDown(var Key: Word; var KeyChar: WideChar; Shift: TShiftState); override; |
|
procedure PaintContent(Sender: TObject; Canvas: TCanvas; const ARect: TRectF); |
|
procedure UpdatePopupButtons; |
|
procedure DeactivatePopupForm(Sender: TObject); |
|
procedure DoPopupClose; virtual; |
|
procedure DoArrowButtonClick(Sender: TObject); |
|
procedure DoClearButtonClick(Sender: TObject); |
|
function HasClearButton: Boolean; |
Properties
property OnDataChange: TNotifyEvent read FOnDataChange write FOnDataChange; |
|
property Modified: Boolean read IsModified write SetModified default False; |
|
property Icon: TBitmap read GetIcon write SetIcon; |
|
property ShowClearButton: Boolean read FShowClearButton write SetShowClearButton default False; |
Description
Fields
FPopup: TFirePopupBase; |
|
FIcon: TBitmap; |
|
FModified: Boolean; |
|
FInitPopupSize: Boolean; |
|
Methods
constructor Create(AOwner: TComponent); override; |
|
destructor Destroy; override; |
|
function IsModified: Boolean; |
|
procedure SetModified(Modified: Boolean); |
|
procedure ShowPopup; virtual; |
|
procedure ClosePopup; |
|
function IsOkButtonVisible: Boolean; |
|
procedure SetOkButtonVisible(Visible: Boolean); |
|
function IsCancelButtonVisible: Boolean; |
|
procedure SetCancelButtonVisible(Visible: Boolean); |
|
function IsCrossButtonVisible: Boolean; |
|
procedure SetCrossButtonVisible(Visible: Boolean); |
|
procedure DropDown; virtual; |
|
procedure ApplyStyle; override; |
|
function GetDefaultStyleLookupName: String; override; |
|
function GetDefaultSize: TSizeF; override; |
|
function GetEditorWidget: TControl; virtual; abstract; |
|
procedure UndoModified; virtual; abstract; |
|
function GetIcon: TBitmap; |
|
procedure SetIcon(const Bitmap: TBitmap); |
|
procedure SaveDefaultState; virtual; |
|
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override; |
|
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override; |
|
procedure KeyDown(var Key: Word; var KeyChar: WideChar; Shift: TShiftState); override; |
|
procedure PaintContent(Sender: TObject; Canvas: TCanvas; const ARect: TRectF); |
|
procedure UpdatePopupButtons; |
|
procedure DeactivatePopupForm(Sender: TObject); |
|
procedure DoPopupClose; virtual; |
|
procedure DoArrowButtonClick(Sender: TObject); |
|
procedure DoClearButtonClick(Sender: TObject); |
|
function HasClearButton: Boolean; |
|
Properties
property OnDataChange: TNotifyEvent read FOnDataChange write FOnDataChange; |
|
property Modified: Boolean read IsModified write SetModified default False; |
|
property Icon: TBitmap read GetIcon write SetIcon; |
|
property ShowClearButton: Boolean read FShowClearButton write SetShowClearButton default False; |
|
Generated by PasDoc 0.15.0.