|
 |
access thread: input mask insertion point
Message #1 by "Terry Henson" <thccrs@a...> on Wed, 25 Sep 2002 03:23:31
|
|
I have a text box with an input mask of CCC-99-9999. I have a default of
AAA for the begining of the field. I want the insertion point to be
directly after the default AAA when a user has focus on the field. Kind
of like this AAA_
\Thanks for any help
Terry
Message #2 by "Gregory Serrano" <SerranoG@m...> on Wed, 25 Sep 2002 13:29:21
|
|
Terry,
<< I have a text box with an input mask of CCC-99-9999. I have a default
of AAA for the begining of the field. I want the insertion point to be
directly after the default AAA when a user has focus on the field. Kind
of like this AAA_ >>
Put this on that field's "On Got Focus" event:
SendKeys "{RIGHT 4}", True
This will move your cursor four spaces to the right past the first dash.
Greg
Message #3 by "Terry Henson" <thccrs@a...> on Wed, 25 Sep 2002 06:54:52 -0700 (Pacific Daylight Time)
|
|
Hey, that was Greg. Thanks
Terry
-------Original Message-------
From: Access
Date: Wednesday, September 25, 2002 5:20:27 AM
To: Access
Subject: [access] Re: input mask insertion point
Terry,
<< I have a text box with an input mask of CCC-99-9999. I have a default
of AAA for the begining of the field. I want the insertion point to be
directly after the default AAA when a user has focus on the field. Kind
of like this AAA_ >>
Put this on that field's "On Got Focus" event:
SendKeys "{RIGHT 4}", True
This will move your cursor four spaces to the right past the first dash.
Greg
.
|
|
 |