Date/Time Picker

Anonymous
Anonymous

Date / Time / Period Selection Popup Windows For Touchscreens

Version: 1.01

Requirements
Citect 7.20 SP5

Description
This is a simple date/time/period picker. When you execute the function it displays a popup graphic page where the user can press buttons to increment/decrement the date/month/year/hours/minutes/seconds/milliseconds. Hold the button to change the value at a faster rate. When you click OK, the function converts it to a Citect date/time value or time span and returns it as a long integer. This can be used with a keyboard, mouse, or touchscreen. The popups are similar to what you might find in the calendar on your smartphone.

To test it, run the attached project and open the Test page. This page also lists what components you would need to copy to use it in your own project.

  

v1.01        Error is now raised if user presses cancel. Fixed formatting of '0 days' 
v1.00                Original Release

Author
Eric Black

Submitter
Eric Black

Attachments