Jump to content

GUICtrlCreateDate with blank Default value


Recommended Posts

If you use the command

GUICtrlCreateDate("",89, 280, 201, 21)

it creates a date box and defaults to today's date. Is there a way to make it so the default value is actually blank? I've already tried putting in Null, default, 0, and "0" but it doesn't seem to blank out the date.

I did find this:

GUICtrlCreateDate("",89, 280, 201, 21, 0x02)

will create a checkbox inside the date that can be unselected to blank out the box, but I want the box to be default disabled unless a date is selected.

Any ideas?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...