If programaticaly current date propety is set to: '2018-06-05' and programaticaly MaxDate property is set to '2018-07-04' (next month) it is impossible to chose date beetwen '2018-07-01' to '2018-07-04'.
If I click on first day of the next month TsDateEdit move automatically to the first day of the previous month.