>>Has anyone ever tried placing the MS Date/Time Picker control on a toolbar? When I place one on a toolbar, it's as if it is disabled, but it's not. It looks enabled, but you cannot drop it down or do anything with it.
>>
>>Any information is appreciated.
>
>
Doug,
>It works in a toolbar too. Maybe it's really disabled. You could "copy" it on a test form to see if it works there.
>Cetin
Cetin,
Kind of weird... but my control isn't disabled. I've tried just directly dropping an OLE Control and selected the Date/Time Picker and that didn't work. I've tried creating a class that is an OLE Control where I selected the Date/Time Picker and then dropped that on the toolbar and that didn't work either. I also have a class that dynamically creates the Date/Time Picker control at run time (work around so that I always know that I won't have a conflict with my control in regards to versions), and I dropped this on the toolbar with the same result.
The control "looks" like it will work. It looks enabled, and has a date that is visible, but when I try to click on it, nothing. It's as if there is something in front of the control, but there isn't.
How were you able to add the control to a toolbar? Did you verify that you could drop it down and select a date?
Thanks for your input.
Doug Stalter
"According to the proverb, the best things are the most difficult." -Plutarch