Jump to content
Sign in to follow this  
AndroidZero

How to set blank value in GUICtrlCreateDate

Recommended Posts

As the Title already says
How to set a blank value in GUICtrlCreateDate ? 

$Input_stichtag = GUICtrlCreateDate("", 50, 480, 310, 27, $DTS_SHORTDATEFORMAT)
    GUICtrlSetBkColor($Input_stichtag, $GUI_BKCOLOR_TRANSPARENT)
    GUICtrlSetFont($Input_stichtag, 12, 400, 0, "Calibri")

It still shows the current date even If I leave the text paremeter empty.

Share this post


Link to post
Share on other sites

I think the easiest way would be to have an input box, with a calendar button beside it.  You could enter the date manually or use the button to show a calendar that you can pick date from.  Check for GUICtrlCreateMonthCal("", 0, 0, Default, Default, $MCS_NOTODAY)

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...