+ Reply to Thread
Results 1 to 3 of 3

Set active cursor in TextBox (blinking cursor)

  1. #1
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,163

    Set active cursor in TextBox (blinking cursor)

    I am working with a VBA userform and several textbox's, setting SetFocus and or TabIndex doesn't leave the box ready to accept input and there is no cursor shown to indicate it is ready to accept input.

    Can I show the blinking cursor in a textbox? (no pun intended ).
    Last edited by Rick_Stanich; 09-17-2009 at 10:56 PM.
    Regards

    Rick
    Win10, Office 365

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Set active cursor in TextBox (blinking cursor)

    Hello Rick,

    You are really having a time of it today. The behaviour you are experiencing is NOT NORMAL. Both the SetFocus method and the tab order should take you to the TextBox and the insertion cursor should be visible (blinking). Unfortunately, I have no ideas as to cause. Have you checked if this is happening with other VBA projects?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,163

    Re: Set active cursor in TextBox (blinking cursor)

    Maybe its due to NT4.0?
    I will check other projects and see how it works.

    As for setfocus or tabindex, it leaves me in limbo. I have no idea where my cursor is. If I type nothing happens. But for now a simple mouse click will suffice.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1