tTimePick

tTimePick

Postby Franklin Demont » Fri Aug 17, 2018 3:28 pm

Hello ,

Trying to use tTimePick with oTime:nStyle := NOR( oTime:nStyle, DTS_SHOWNONE )

Code: Select all  Expand view  RUN

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 )
 


Starting with tTime nil , the control is disabled as expected , the checkbox must be checked . Msginfo shows current time

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
test
Franklin Demont
 
Posts: 166
Joined: Wed Aug 29, 2012 8:25 am

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 43 guests