You've already forked lazarus-ccr
RxFPC: TRxDBDateEdit - fix error on set focus if dataset.active=false
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3941 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -116,6 +116,7 @@ type
|
|||||||
|
|
||||||
function GetDefaultGlyphName: String; override;
|
function GetDefaultGlyphName: String; override;
|
||||||
function CreatePopupForm:TPopupCalendar;
|
function CreatePopupForm:TPopupCalendar;
|
||||||
|
procedure DoEnter; override;
|
||||||
|
|
||||||
property BlanksChar: Char read FBlanksChar write SetBlanksChar default ' ';
|
property BlanksChar: Char read FBlanksChar write SetBlanksChar default ' ';
|
||||||
property DialogTitle:TCaption Read FDialogTitle Write FDialogTitle Stored IsStoreTitle;
|
property DialogTitle:TCaption Read FDialogTitle Write FDialogTitle Stored IsStoreTitle;
|
||||||
@ -867,6 +868,12 @@ begin
|
|||||||
TRxCalendarGrid(Result.Calendar).NotInThisMonthColor:=FNotInThisMonthColor;
|
TRxCalendarGrid(Result.Calendar).NotInThisMonthColor:=FNotInThisMonthColor;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TCustomRxDateEdit.DoEnter;
|
||||||
|
begin
|
||||||
|
if Enabled then
|
||||||
|
inherited DoEnter;
|
||||||
|
end;
|
||||||
|
|
||||||
constructor TCustomRxDateEdit.Create(AOwner: TComponent);
|
constructor TCustomRxDateEdit.Create(AOwner: TComponent);
|
||||||
begin
|
begin
|
||||||
inherited Create(AOwner);
|
inherited Create(AOwner);
|
||||||
|
Reference in New Issue
Block a user