OSDN Git Service

ブラウザレスポップアップで、レスポップアップ中のスレッドがアクティブスレッドと
authorh677 <h677>
Sat, 21 Mar 2009 13:15:02 +0000 (13:15 +0000)
committerh677 <h677>
Sat, 21 Mar 2009 13:15:02 +0000 (13:15 +0000)
誤認する問題の対応

Giko.pas

index 721656d..30d545c 100644 (file)
--- a/Giko.pas
+++ b/Giko.pas
@@ -2381,6 +2381,16 @@ begin
         KokoPopupMenu.PopupComponent := nil;
         if (Sender is TComponent) then
             KokoPopupMenu.PopupComponent := TComponent(Sender);
+        // \8cë\94\9a\91Î\8dô \83N\83\8a\83b\83N\82µ\82½\83u\83\89\83E\83U\82Æ\88Ù\82È\82é\82Æ\82«\82É\8fÁ\82·\8f\88\97\9d\82ð\92Ç\89Á
+        if not (Sender is TResPopupBrowser) then begin
+            if (FResPopupBrowser <> nil) and (FResPopupBrowser.CurrentBrowser.Visible = True) then begin
+                FResPopupBrowser.Clear;
+            end;
+        end else begin
+            if (Sender <> FResPopupBrowser.CurrentBrowser) then begin
+                TResPopupBrowser(Sender).ChildClear;
+            end;
+        end;
                KokoPopupMenu.Tag := StrToInt(sNo);
                KokoPopupMenu.Popup(p.x, p.y);
        end else if Pos('mailto', LowerCase(URL)) <> 0 then begin