Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 cxDateEdit 的代码中设置最小日期,以便用户不能选择小于我指定的日期?我可以在财产中做到这一点,但代码更适用。
像这样:
cxDateEdit.Properties.MinDate := EncodeDate(2013, 4, 1);