Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2003
    Posts
    280

    Unanswered: How do I position the cursor in a textbox?

    For example:

    In the textbox, it has the value $23,456 and I want to put my cursor after the number six. I don't want to highlight the whole textbox though with the Setfocus method.

  2. #2
    Join Date
    Oct 2003
    Location
    Canada
    Posts
    574
    either get teh user to press the F2 key or use the following:

    Me!Amt.SelStart = Me!Amt.SelLength

    This may not work in a terminal server setting though

  3. #3
    Join Date
    Apr 2003
    Posts
    280
    thanks!

  4. #4
    Join Date
    Oct 2003
    Location
    Roanoke, Va
    Posts
    445

    Smile

    Originally posted by jmrSudbury
    either get teh user to press the F2 key or use the following:

    Me!Amt.SelStart = Me!Amt.SelLength

    This may not work in a terminal server setting though
    I found you still had to set focus to the control.

    Gregg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •