mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-25 00:29:40 +01:00
improved focus debugging output
git-svn-id: trunk@3063 -
This commit is contained in:
parent
9996bd64a1
commit
9bca748989
@ -774,7 +774,7 @@ begin
|
||||
FindReplaceDlg.Top:=ATop;
|
||||
|
||||
if (FindReplaceDlg.ShowModal = mrCancel) then begin
|
||||
EditorComponent.SetFocus;
|
||||
FEditor.SetFocus;
|
||||
exit;
|
||||
end;
|
||||
|
||||
@ -1544,10 +1544,8 @@ Begin
|
||||
end else begin
|
||||
FEditor.Parent:=AParent;
|
||||
end;
|
||||
FEditor.SetFocus;
|
||||
end;
|
||||
|
||||
|
||||
procedure TSourceEditor.SetCodeBuffer(NewCodeBuffer: TCodeBuffer);
|
||||
begin
|
||||
if NewCodeBuffer=FCodeBuffer then exit;
|
||||
@ -4129,9 +4127,8 @@ begin
|
||||
Default:=false;
|
||||
Visible := True;
|
||||
end;
|
||||
|
||||
Edit1.SetFocus;
|
||||
end;
|
||||
ActiveControl:=Edit1;
|
||||
end;
|
||||
|
||||
procedure TfrmGoto.Edit1KeyDown(Sender: TObject; var Key:Word;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user