From 9ef50a24132512929ff8a0c71586048e95a5a06a Mon Sep 17 00:00:00 2001 From: zoran-vucenovic Date: Sun, 9 Mar 2014 16:11:37 +0000 Subject: [PATCH] Always use PopupMode pmAuto git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2901 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/ZVDateTimeCtrls/trunk/zvdatetimepicker.pas | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/ZVDateTimeCtrls/trunk/zvdatetimepicker.pas b/components/ZVDateTimeCtrls/trunk/zvdatetimepicker.pas index f6d8eb986..689727469 100644 --- a/components/ZVDateTimeCtrls/trunk/zvdatetimepicker.pas +++ b/components/ZVDateTimeCtrls/trunk/zvdatetimepicker.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);