+ Reply to Thread
Results 1 to 2 of 2

Moving cursor to select input field in forms

Hybrid View

  1. #1
    Registered User
    Join Date
    01-05-2007
    Posts
    3

    Moving cursor to select input field in forms

    http://img.photobucket.com/albums/v4...ixxprogram.jpg

    Hopefully someone can help me out here:
    If you'll look to the picture I posted above, I have the user input the x and y coordinates of the lower left and upper right corners of a section. When they click the Next button it allows them to input coordinates for the following section. My problem is that when I click the Next button the button stays highlighted, instead of starting with the cursor in the input field. Does anyone know what I would have to do to have the cursor start in the input field?


    Thanks a lot,
    Charles

  2. #2
    Registered User
    Join Date
    01-05-2007
    Posts
    3
    Oh well, it was something super easy.
    code turns out to be
    nameoffield.SetFocus

+ 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