From 10d67b7628081b00a1e116968f26274b2ba98411 Mon Sep 17 00:00:00 2001 From: zoran Date: Sun, 9 Mar 2014 16:16:32 +0000 Subject: [PATCH] DateTimePicker: Always use PopupMode pmAuto git-svn-id: trunk@44388 - --- components/datetimectrls/datetimepicker.pas | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/datetimectrls/datetimepicker.pas b/components/datetimectrls/datetimepicker.pas index 8a6e6397b7..c5ac5c0627 100644 --- a/components/datetimectrls/datetimepicker.pas +++ b/components/datetimectrls/datetimepicker.pas @@ -740,10 +740,8 @@ begin if Assigned(DTPickersParentForm) then begin DTPickersParentForm.AddHandlerOnVisibleChanged(@VisibleOfParentChanged); DTPickersParentForm.FreeNotification(Self); - PopupParent := DTPickersParentForm; - PopupMode := pmExplicit; - end else - PopupMode := pmAuto; + end; + PopupMode := pmAuto; P := Point(0, 0);