Form2.Width := Screen.DesktopWidth;
Form2.Height := Screen.DesktopHeight;
i, TotalWidth , TotalHeight : Integer;
for i = 0 to Screen.MonitorCount -1 do
begin
TotalWidth := TotalWidth + Screen.Monitors[i].Width;
TotalHeight := TotalHeight + Screen.Monitors[i].Heigth;
end;
Form.Width := TotalWidth;
Form.Heigth := TotalHeight ;