disables tab-focusability of messages window if docked

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@805 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
skalogryz
2009-05-20 16:50:25 +00:00
parent be270b7ab7
commit 40dc9f3108

View File

@ -83,6 +83,8 @@ begin
end;
procedure TManualDocker.ChangeDocking(DockingEnabled: Boolean);
var
i : Integer;
begin
if DockingEnabled then begin
if not Assigned(SourceEditorWindow) or not Assigned(IDEMessagesWindow) then Exit;
@ -98,6 +100,9 @@ begin
IDEMessagesWindow.Align := alClient;
IDEMessagesWindow.BorderStyle := bsNone;
IDEMessagesWindow.TabStop := false;
for i := 0 to IDEMessagesWindow.ControlCount - 1 do
if IDEMessagesWindow.Controls[i] is TWinControl then
TWinControl(IDEMessagesWindow.Controls[i]).TabStop := false;
panel.Height := MsgWnd.DockSize.cy;
end else begin
if Assigned(panel) then begin