Trying to use tTimePick with oTime:nStyle := NOR( oTime:nStyle, DTS_SHOWNONE )
Code: Select all
tTime := nil
@ 30 , 50 TMPicker oTime VAR tTime OF oDlg PIXEL SIZE 60,12;
VALID (MsgInfo(tTime) , .T.)
oTime:nStyle := NOR( oTime:nStyle, DTS_TIMEFORMAT)
oTime:nStyle := NOR( oTime:nStyle, DTS_SHOWNONE )
Disabling the checkbox : tTime has value 00:00:53
ALso oTime:Varget() shows this value when the dialog is closed.
How can we know that the time is checked or not ? 00:00:53 can be a real time !!!
Frank