OSDN Git Service

Waitタイムを0まで拡張
authorh677 <h677>
Sun, 26 Aug 2007 10:45:07 +0000 (10:45 +0000)
committerh677 <h677>
Sun, 26 Aug 2007 10:45:07 +0000 (10:45 +0000)
Giko.pas
KuroutSetting.dfm

index 30707d4..7c4ee0b 100644 (file)
--- a/Giko.pas
+++ b/Giko.pas
@@ -1960,12 +1960,20 @@ begin
     if FResPopupBrowser <> nil then begin
         if not(Sender is TResPopupBrowser) then begin
             if (FResPopupBrowser.Visible) then begin
-                ResPopupClearTimer.Enabled := True;
-                ResPopupClearTimer.Tag := 0;
+                if ResPopupClearTimer.Interval > 0 then begin
+                    ResPopupClearTimer.Enabled := True;
+                    ResPopupClearTimer.Tag := 0;
+                end else begin
+                    FResPopupBrowser.Clear;
+                end;
             end;
         end else begin
-            ResPopupClearTimer.Enabled := True;
-            ResPopupClearTimer.Tag := 1;
+            if ResPopupClearTimer.Interval > 0 then begin
+                ResPopupClearTimer.Enabled := True;
+                ResPopupClearTimer.Tag := 1;
+            end else begin
+                TResPopupBrowser(Sender).ChildClear;
+            end;
         end;
     end;
     cResPopup := nil;
index 52f3750..63f6e96 100644 (file)
@@ -599,9 +599,9 @@ object KuroutOption: TKuroutOption
         object Label19: TLabel
           Left = 192
           Top = 72
-          Width = 108
+          Width = 96
           Height = 12
-          Caption = '(100 ms '#65374' 5000 ms)'
+          Caption = '(0 ms '#65374' 5000 ms)'
         end
         object DeltaXLabeledEdit: TLabeledEdit
           Left = 120
@@ -675,7 +675,7 @@ object KuroutOption: TKuroutOption
           Width = 17
           Height = 20
           Associate = RespopupWaitLabeledEdit
-          Min = 100
+          Min = 0
           Max = 5000
           Increment = 100
           Position = 100