G
GaryS
I have a form with a bound short date field on it.
The input mask is 00/00/0000
When the cursor ends up in that control, I want it to be
positioned at the left end rather than the right (so the
user can type the date in in a mmddyyyy order of digits).
Using direct keystrokes, I can get it to go Left in Form
View by hitting Home.
So I figured I could use SendKeys {HOME} in an mHome
macro to do the same.
The problem is figuring out in which Event to use mHome.
If I put in in the On Click event, it works when I use the
mouse to put the cursor in that control but not when I tab
into it.
I have tried On Got Focus and On Enter, but neither seems
to work (using either tabbing or mousing).
I've run out of ideas. Anyone know of a solution?
Gary
The input mask is 00/00/0000
When the cursor ends up in that control, I want it to be
positioned at the left end rather than the right (so the
user can type the date in in a mmddyyyy order of digits).
Using direct keystrokes, I can get it to go Left in Form
View by hitting Home.
So I figured I could use SendKeys {HOME} in an mHome
macro to do the same.
The problem is figuring out in which Event to use mHome.
If I put in in the On Click event, it works when I use the
mouse to put the cursor in that control but not when I tab
into it.
I have tried On Got Focus and On Enter, but neither seems
to work (using either tabbing or mousing).
I've run out of ideas. Anyone know of a solution?
Gary