Page 1 of 1

To read an hour (SOLVED)

Posted: Wed Jan 13, 2021 8:53 pm
by Armando
Hi Friends:

what kind of control should I use to read an hour
The following code doesn't work, I get a date

Code: Select all

         oPed:HRA := Time()
         …
         …
         ...
         REDEFINE dtPicker aGets[02] VAR oPed:HRA ID 102 OF oDlg UPDATE;
            MESSAGE "Departure time"
 

Best regards

Re: To read an hour

Posted: Wed Jan 13, 2021 8:56 pm
by Enrico Maria Giordano
A GET with PICTURE "99:99"? A combobox with all the hours in the popdown list?

EMG

Re: To read an hour

Posted: Wed Jan 13, 2021 9:05 pm
by cnavarro
Try with class TMPicker

Re: To read an hour (SOLVED)

Posted: Wed Jan 13, 2021 9:40 pm
by Armando
Masters:

Solved with TMPicker Class.

Thank you guys

Regards