Hello all,
I have a popover than has 2 DPFTextField. When a user touches inside the textfield, I want to show another popover that has a DPFDatePicker so the user can select a date to be put inside the textfield.
The problems I am having are:
1. The keyboard opens also. I want to stop this.
2. How do I set the date in the textfield from the datetimepicker popover?
- This datetimepicker popover will be used in several different places throughout my app, so I need a way to tell the datetimepicker which textfield to be set. (I hope that makes sense).
Is this the best implementation of using a datepicker?
Any suggestions would be greatly appreciated.
Regards,
Bryan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
I have a popover than has 2 DPFTextField. When a user touches inside the textfield, I want to show another popover that has a DPFDatePicker so the user can select a date to be put inside the textfield.
The problems I am having are:
1. The keyboard opens also. I want to stop this.
2. How do I set the date in the textfield from the datetimepicker popover?
- This datetimepicker popover will be used in several different places throughout my app, so I need a way to tell the datetimepicker which textfield to be set. (I hope that makes sense).
Is this the best implementation of using a datepicker?
Any suggestions would be greatly appreciated.
Regards,
Bryan
Ok, I was able to figure out problem 1 by creating a DPFTextField variable, but I still can't figure out how to keep the keyboard from showing.
Regards,
Bryan
Hi
Why do not use TDPFDateTimeComboBox?
Regards
hmmmm, I did not realize there was one. haha. That would be perfect. Thanks!