remove cursor from textbox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MissiMaths

    remove cursor from textbox

    I don't know if this is a stupid question but I have a textbox in a
    form and the text entered into it is only recognised if it has been
    tabbed or returned out of. Is there anyway to get the cursor to
    automatically move or tab out of the text box when a button is
    pressed! ie what is the code to automatically tab out of a control
    when another is pressed!
    Thanks for any help!
  • Darryl Kerkeslager

    #2
    Re: remove cursor from textbox

    Set the focus to any other control:

    Me.btnOkay.SetF ocus
    Me.txtNextField .SetFocus


    Darryl Kerkeslager



    "MissiMaths " <missimaths@hot mail.com> wrote in message
    news:7538ba75.0 411150337.6d5ef 7a8@posting.goo gle.com...[color=blue]
    > I don't know if this is a stupid question but I have a textbox in a
    > form and the text entered into it is only recognised if it has been
    > tabbed or returned out of. Is there anyway to get the cursor to
    > automatically move or tab out of the text box when a button is
    > pressed! ie what is the code to automatically tab out of a control
    > when another is pressed!
    > Thanks for any help![/color]


    Comment

    Working...