FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour To read an hour (SOLVED)
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
To read an hour (SOLVED)
Posted: Wed Jan 13, 2021 08: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 (fw): Select all Collapse
         oPed:HRA := Time()
         …
         …
         ...
         REDEFINE dtPicker aGets[02] VAR oPed:HRA ID 102 OF oDlg UPDATE;
            MESSAGE "Departure time"



Best 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
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: To read an hour
Posted: Wed Jan 13, 2021 08:56 PM

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

EMG

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: To read an hour
Posted: Wed Jan 13, 2021 09: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
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
Re: To read an hour (SOLVED)
Posted: Wed Jan 13, 2021 09: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

Continue the discussion