Can we create this control on dialog ?
where I can found an sample ?
I tried with @ 40, 115 TMPICKER aGet[4] VAR cTimeStart OF oDlg SIZE 50,10 PIXEL
but not run ok I cannot see AM or PM only the hour
TTIME CONTROL
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
TTIME CONTROL
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
-
- Posts: 5
- Joined: Tue Sep 23, 2014 5:22 am
- Location: Kochi, India
Re: TTIME CONTROL
Try This
Regards
Sreeraj
Code: Select all
#include "FiveWin.ch"
#include "dtpicker.ch"
Function Main()
Local oDlg,oGet,oGet1,tTime:=Time()
Local tTimeTwo:="12:30:00"
DEFINE DIALOG oDlg FROM 2, 2 TO 10, 50
@ 10, 65 TMPicker oGet VAR tTime OF oDlg PIXEL SIZE 50,10
@ 25, 65 TMPicker oGet1 VAR tTimeTwo OF oDlg PIXEL SIZE 50,10
ACTIVATE DIALOG oDlg CENTERED
Return Nil
Sreeraj
Last edited by sreerajklm on Tue Oct 31, 2017 3:47 am, edited 1 time in total.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: TTIME CONTROL
thanks
but I must set
set date italian
but I must set
set date italian
Last edited by Silvio.Falconi on Sun Oct 29, 2017 2:24 pm, edited 1 time in total.
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: TTIME CONTROL
Is it possible to remove the seconds and show only the hour and minutes?