OSDN Git Service

ギコナビ更新のダイアログの表示位置をメインダイアログの中心に変更
authorh677 <h677>
Sun, 20 Nov 2011 10:18:23 +0000 (10:18 +0000)
committerh677 <h677>
Sun, 20 Nov 2011 10:18:23 +0000 (10:18 +0000)
GikoDataModule.pas
UpdateCheck.dfm

index 3bc16ed..9eae932 100644 (file)
@@ -4606,7 +4606,7 @@ begin
        end;
     GikoForm.UpdateExePath := '';
     GikoForm.UpdateExeArgs := '';
-    form := TUpdateCheckForm.Create(Self);
+    form := TUpdateCheckForm.Create(GikoForm);
     try
         form.ShowModal;
         shutdown := form.Allowshutdown;
index c836b67..fcec032 100644 (file)
@@ -11,7 +11,7 @@ object UpdateCheckForm: TUpdateCheckForm
   Font.Name = #65325#65331' '#65328#12468#12471#12483#12463
   Font.Style = []
   OldCreateOrder = False
-  Position = poDesktopCenter
+  Position = poOwnerFormCenter
   OnCreate = FormCreate
   PixelsPerInch = 96
   TextHeight = 12