|
|

Ensuring that the whole Field is selected
If you set the "Behaviour Entering Field" property to 'Select Entire Field', then this will only work when tabbing between fields. If the user uses the mouse to navigate between controls, no data will be selected when they click into a control, and the cursor position will be wherever the user clicked in the field. If you want to change this, then you will need to use the field's OnClick event:
Private Sub txtName_Click()
Me!txtName.SelStart=0
Me!txtName.SelLength=Len(Me!txtName)
End Sub |
Top
HOME |
NEW |
TABLES |
QUERIES |
FORMS |
REPORTS |
GENERAL |
API |
DOWNLOADS |
TUTORIAL |
RESOURCES
E-MAIL
Copyright & Disclaimer
|
| |