Thanks
But I didn't understand... my control isn't a textBox, it's a
datetimepicker, and it doesn't have the property selectionStart.
can you explain me more please?
"One Handed Man [ OHM ]" <te***************************@BTOpenworld.com>
wrote in message news:#B**************@tk2msftngp13.phx.gbl...
Put this in your events
TextBox1.SelectionStart = 1
TextBox1.SelectionLength = 2
TextBox1.Select()
"touf" <to******@hotmail.com> wrote in message
news:e$**************@TK2MSFTNGP12.phx.gbl... Hi,
I've a DateTimePicker control , format dd/mm/yyyy
How is it possible to always highlight the DD part when the user clic
inside the control or use the TAB key to go in.
This will simplify the data entry because the user can clic inside the
control and start typing.
Thanks.