text enter position

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Any suggestuins on how to achieve the following would be appreciated:

On entry in a text box **** is entered followed by a space and the cursur is
placed then placed in the next position.

Thanks in advance
Tom
 
Sorry - this does not do it - the cursor will still start at the 1st char
position not the 6th

Any other suggestions?
 
You may see the cursor at the beginning of the inputmask, but when you start
to type, it will be at the 6th character. However, if you insist on seeing
the cursor on the 6th character immediately on enter, try this:
On the textbox's OnEnter event, you can use code like this:
MyTextBox.SelStart=6
MyTextBox.SelLength=0

HTH
- Turtle
 
I am having the same problem as tom but when I set the input mask I'm not
getting the results as Tom. The textbox looks like "E"99999999 and I want it
to start after the "E" but it changes the textbox so that only numbers are
stored? Can you help?
 
Look at InputMask in the Help file.
I think there's an optional argument which will specify whether or not
non-inputted data is stored.

HTH
- Turtle
 
thanks works great

MacDermott said:
Look at InputMask in the Help file.
I think there's an optional argument which will specify whether or not
non-inputted data is stored.

HTH
- Turtle
 
Back
Top