Hi
I'm in the process of developing my own date time picker similar to the standard VB control (except, this one is nullable). The control consits of a masked text box, a button and a calendar control.
The calendar control is hidden by default and the form is shrunk to just display the text box and button. When the button is pushed the form is resized and the calendar set to visible. Once the date is selected the reverese happens and the calendar is again hidden.
Everything seems to be working pretty well until I place my new control in a Table Layout Panel. When I now click the button my calendar does not appear. I guess this has something to do with the height of the table row.
How do I allow the calendar control to be drawn outside the row my control is in? (As with the default date time picker).
Thanks
I'm in the process of developing my own date time picker similar to the standard VB control (except, this one is nullable). The control consits of a masked text box, a button and a calendar control.
The calendar control is hidden by default and the form is shrunk to just display the text box and button. When the button is pushed the form is resized and the calendar set to visible. Once the date is selected the reverese happens and the calendar is again hidden.
Everything seems to be working pretty well until I place my new control in a Table Layout Panel. When I now click the button my calendar does not appear. I guess this has something to do with the height of the table row.
How do I allow the calendar control to be drawn outside the row my control is in? (As with the default date time picker).
Thanks