Question How to get selected section from a Date Time Picker Control?

Flippedbeyond

Well-known member
Joined
Dec 19, 2008
Messages
198
Programming Experience
1-3
I am trying to get the part of the text that is selected from a datetimepicker control. For example say the formatting is "MM/dd/yyyy hh:mm tt" , when the user clicks on the control they can highlight just one section of it, like just the month or just the minute.

Is there a simple way to determine what section is selected?

ex with image.
DTPicker.PNG
In the image shown the month "May" is selected, is there a way for me to find out that the month was selected?

i've search and i just can't seem to find a simple way... I figure there would be a method like get selected or something, but i didn't find anything, maybe i'm just missing it?


Thanks in advance.
 
Thanks for the reply jmcilhinney, really wished there was a simple way...

guess i'd have to look for a third party control or develop one on my own if i ever need that feature again, kinda just came up with a work around for the project i needed that for.
 
Back
Top