Text Box - Cursor to start at the beginning

Geordie2008

Registered User.
Local time
Today, 01:12
Joined
Mar 25, 2008
Messages
177
Hi,

I have a text box on a form and I want the user to enter a date so I have an input mask.

How do I get the cursor to start right at the beginning when the user selects the text box? (e.g. the format is DD/MM/YYYY and the cursor will start at the fist D and nowhere else!)

Thanks,
Mandy
 
Simple Software Solutions

This depends on how the user access the control. If he uses a mouse to click on the field they can click just about anywhere within the field. If you are using a tab or return key to get to this field you need to go to Tools > Options.. > Keyboard. On the optio group 'Behaviour entering field' select Go To start of field.

CodeMaster::cool:
 
ok - no worries then,

Thanks,
M
 

Users who are viewing this thread

Back
Top Bottom