
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
Code: Select all | Expand
#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