{"id":4822,"date":"2018-01-11T21:20:18","date_gmt":"2018-01-11T13:20:18","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=4822"},"modified":"2018-01-11T21:20:18","modified_gmt":"2018-01-11T13:20:18","slug":"%e6%95%99%e7%a8%8b%e4%b8%ba-tdatetimepicker-%e5%a2%9e%e5%8a%a0%e6%97%a5%e6%9c%9f%e6%97%b6%e9%97%b4%e7%b1%bb%e5%9e%8b%e6%94%af%e6%8c%81%ef%bc%88%e6%9d%a5%e8%87%aalakeview%ef%bc%89","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=4822","title":{"rendered":"[\u6559\u7a0b]\u4e3a TDateTimePicker \u589e\u52a0\u65e5\u671f\u65f6\u95f4\u7c7b\u578b\u652f\u6301\uff08\u6765\u81eaLakeView\uff09"},"content":{"rendered":"<p>1\u3001\u627e\u5230 VCL.ComCtrls.pas \u5355\u5143<\/p>\n<p>2\u3001\u4fee\u6539 TDateTimeKind \u7c7b\u578b\uff0c\u589e\u52a0 dtkDateTime\uff0c\u4ee5\u4fbf\u652f\u6301\u65e5\u671f\u65f6\u95f4\u7c7b\u578b\u3002<\/p>\n<blockquote><p>TDateTimeKind = (dtkDate, dtkTime, dtkDateTime);<\/p><\/blockquote>\n<p>3\u3001\u627e\u5230 TDateTimePicker.CNNotify \u51fd\u6570\uff0c\u5728 \u00a0DT:=SystemTimeToDateTime(st); \u540e\u589e\u52a0<\/p>\n<blockquote><p>if Kind = dtkDateTime then<br \/>\nSetDateTime(DT)<br \/>\nelse<br \/>\n&#8230;<\/p><\/blockquote>\n<p>\u7136\u540e\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u627e\u5230 VCL.ComCtrls.pa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[603],"tags":[745],"class_list":["post-4822","post","type-post","status-publish","format-standard","hentry","category-603","tag-tdatetimepicker"],"views":5149,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/4822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4822"}],"version-history":[{"count":1,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/4822\/revisions"}],"predecessor-version":[{"id":4823,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/4822\/revisions\/4823"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}