ACC: Unexpected Pointer Behavior in Text Box with Input MaskLast reviewed: May 28, 1997Article ID: Q114507 |
The information in this article applies to:
SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers. When you click in a text box that has a defined InputMask property, the insertion point remains where it was in the text box when you clicked the mouse button instead of moving to the beginning of the text box. This occurs whether there is data in the text box or not.
RESOLUTIONPress F2 to place the insertion point at the beginning of the text box, or use the TAB key to navigate to the text box instead of clicking in the text box.
STATUSThis behavior is by design.
MORE INFORMATIONAn input mask uses predefined place holders in the text box. If you press TAB or press ENTER to move to the text box, the insertion point is placed at the beginning of the input mask. If you enter the text box by clicking in it, the insertion point remains where it was when you clicked the mouse button. You can make the insertion point move to the beginning of the text box by automatically pressing F2 when a text box is entered. To do this, create a macro with the following action and call it from the text box's OnClick property:
SendKeys Keystrokes: {F2} Wait: No REFERENCESFor more information about macro basics, search the Help Index for "macros," and view the available help topics, or ask the Microsoft Access 97 Office Assistant. |
Keywords : FmsProp kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |