jahlxx Posted May 22, 2018 Share Posted May 22, 2018 Hi. Is possible to set the value of a tunidatetimepicker to blank when is created? Now, allways is set to "today". I need it to blank by default. Thanks. 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 22, 2018 Share Posted May 22, 2018 Hi, procedure TMainForm.UniFormCreate(Sender: TObject); begin UniDateTimePicker1.DateTime := 0; end; 1 Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 23, 2018 Author Share Posted May 23, 2018 Ok. Works. The problem is that I have many forms, with datetimepickers, and was looking for a way to this by default without modifying the forma one by one. Is not possible? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 23, 2018 Share Posted May 23, 2018 Hi, The problem is that I have many forms, with datetimepickers, and was looking for a way to this by default without modifying the forma one by one. Is not possible? I think is it possible, But I think it's better for you to create a derived component Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 23, 2018 Author Share Posted May 23, 2018 ok. thanks for your suggestion. I'll try. Enviado desde mi SM-A500FU mediante Tapatalk Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.