You've already forked lazarus-ccr
RxFPC: TRxCloseFormValidator call owner form event OnCloseQuery before validate
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3635 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -305,9 +305,10 @@ begin
|
||||
begin
|
||||
if TForm(Sender).ModalResult = mrOk then
|
||||
begin
|
||||
CanClose:=CheckCloseForm;
|
||||
if CanClose and Assigned(FOnCloseQuery) then
|
||||
FOnCloseQuery(Sender, CanClose);
|
||||
if CanClose then
|
||||
CanClose:=CheckCloseForm;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user