I have a combobox, cboStartDate, that when clicked on opens a Calendar Control 11.0 directly below the combobox. When a date is selected, the Calendar object is hidden and the date is placed in cboStartDate. It works great.
The problem is that if no date is chosen (user selects cboStartDate by accident or decides not to change the date) and the user clicks on the arrow of the combobox to close the calendar, it makes the cboStartDate dropdown a list of options. I do not want that list to appear and am looking for the reverse of the dropdown event.
What is interesting, if the user selects the text portion of the combobox, the dropdown never occurs and it acts just the way I want it to.
So.. does any one know of a command that causes a cbo to remain closed or retract its dropdown list?
Thanks.
The problem is that if no date is chosen (user selects cboStartDate by accident or decides not to change the date) and the user clicks on the arrow of the combobox to close the calendar, it makes the cboStartDate dropdown a list of options. I do not want that list to appear and am looking for the reverse of the dropdown event.
What is interesting, if the user selects the text portion of the combobox, the dropdown never occurs and it acts just the way I want it to.
So.. does any one know of a command that causes a cbo to remain closed or retract its dropdown list?
Thanks.