To read an hour (SOLVED)

Post Reply
User avatar
Armando
Posts: 2479
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México
Contact:

To read an hour (SOLVED)

Post 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
Last edited by Armando on Wed Jan 13, 2021 9:37 pm, edited 1 time in total.
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: To read an hour

Post by Enrico Maria Giordano »

A GET with PICTURE "99:99"? A combobox with all the hours in the popdown list?

EMG
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: To read an hour

Post by cnavarro »

Try with class TMPicker
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Armando
Posts: 2479
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México
Contact:

Re: To read an hour (SOLVED)

Post by Armando »

Masters:

Solved with TMPicker Class.

Thank you guys

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
Post Reply