To read an hour (SOLVED)

To read an hour (SOLVED)

Postby Armando » Wed Jan 13, 2021 8:53 pm

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  Expand view  RUN

         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
Armando
 
Posts: 3229
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: To read an hour

Postby Enrico Maria Giordano » Wed Jan 13, 2021 8:56 pm

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: To read an hour

Postby cnavarro » Wed Jan 13, 2021 9:05 pm

Try with class TMPicker
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: To read an hour (SOLVED)

Postby Armando » Wed Jan 13, 2021 9:40 pm

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
User avatar
Armando
 
Posts: 3229
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 54 guests