Page 1 of 1
Current Date in DTPicker
Posted: Fri Jan 29, 2010 8:50 am
by wzaf
Hi all !
I use the control DTPicker and it always displays the current date if the variable is empty;
there is a way to dispay a blank field when the variable is empty ?
Best regards
Wzaf
Re: Current Date in DTPicker
Posted: Fri Jan 29, 2010 10:49 am
by demont frank
Working with rc-file , you can use DTS_SHOWNONE as :
CONTROL "", 114, "SysDateTimePick32", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP | DTS_SHOWNONE , 105 , 20 , 55, 10
Frank
Re: Current Date in DTPicker
Posted: Sun Jan 31, 2010 8:54 am
by wzaf
Tank you Frank,
But I use a DLL to store the resource, I use Pelles C ide , and I tried to give the same attribute : Show none = Yes , but
I obtain the same result with the difference that the date field is disabled.
Best regards
Wzaf
Re: Current Date in DTPicker
Posted: Sun Jan 31, 2010 12:40 pm
by demont frank
wzaf wrote:Tank you Frank,
But I use a DLL to store the resource, I use Pelles C ide , and I tried to give the same attribute : Show none = Yes , but
I obtain the same result with the difference that the date field is disabled.
Best regards
Wzaf
That is the intention. Disabled means empty date , maybe yoy can test it before the data are written in the DBF.
Frank