mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-07 23:57:33 +01:00
DateTimePicker: Change popup mode of CalendarForm from pmAuto to pmExplicit (makes difference when ParentForm of DateTimePicker is TCustomForm, not TForm)
git-svn-id: trunk@62623 -
This commit is contained in:
parent
2efc246c6b
commit
0dc05db67d
@ -872,7 +872,9 @@ begin
|
|||||||
if Assigned(DTPickersParentForm) then begin
|
if Assigned(DTPickersParentForm) then begin
|
||||||
DTPickersParentForm.AddHandlerOnVisibleChanged(@VisibleOfParentChanged);
|
DTPickersParentForm.AddHandlerOnVisibleChanged(@VisibleOfParentChanged);
|
||||||
DTPickersParentForm.FreeNotification(Self);
|
DTPickersParentForm.FreeNotification(Self);
|
||||||
end;
|
PopupParent := DTPickersParentForm;
|
||||||
|
PopupMode := pmExplicit;
|
||||||
|
end else
|
||||||
PopupMode := pmAuto;
|
PopupMode := pmAuto;
|
||||||
|
|
||||||
P := Point(0, 0);
|
P := Point(0, 0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user