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
Current Date in DTPicker
-
- Posts: 167
- Joined: Thu Mar 22, 2007 11:24 am
Re: Current Date in DTPicker
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
CONTROL "", 114, "SysDateTimePick32", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP | DTS_SHOWNONE , 105 , 20 , 55, 10
Frank
Re: Current Date in DTPicker
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
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
-
- Posts: 167
- Joined: Thu Mar 22, 2007 11:24 am
Re: Current Date in DTPicker
That is the intention. Disabled means empty date , maybe yoy can test it before the data are written in the DBF.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
Frank