set focus function

Discussion in 'Questions (Windows Mobile)' started by gjoisa, May 13, 2008.

  1. gjoisa

    gjoisa Active Member Licensed User

    How to set cursor to a textbox while showing a form ?
     
  2. BjornF

    BjornF Active Member Licensed User

    Just use the focus method: Textbox1.Focus

    / Björn
     
  3. gjoisa

    gjoisa Active Member Licensed User

    i have tried it .
    Code:
    #text.Focus
    Form1.Show#

    It is not working .
     
  4. specci48

    specci48 Well-Known Member Licensed User

    Do it the other way round. First show the form and then set the focus.


    specci48
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice