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