Results 1 to 2 of 2

Thread: [RESOLVED] From a newbee

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2005
    Location
    NTU, Singapore
    Posts
    42

    Resolved [RESOLVED] From a newbee

    Hi, please help in my question below

    Is there a way to unselect a control item. I mean whenever I start my form, I want the cursor to be in a particular textbox. So I add the code setfocus() in the form_load. However, this causes the text to be highlighted too when the form is run. Is there a way to unhighlight from a control box.

    Thanks

  2. #2
    Hyperactive Member nagasrikanth's Avatar
    Join Date
    Nov 2004
    Location
    India,Hyderabad.
    Posts
    420

    Re: From a newbee

    hi...
    what i got from u r question is ...

    whenever the text box getting focus..the text was highlighting...which u dont wanna like that..

    if my assumption is correct then place this line under textbox_getfocus...

    VB Code:
    1. SendKeys "{F2}"

    I dont know wether this one is correct one or not...
    but it resolves u r problem..

    All the best...
    Anu...

    (If u r problem resolved then please make this post as resolved one and rate the post..)
    The Difference between a Successful person and others is not a Lack of Knowledge,
    But rather a Lack of WILL

Posting Permissions

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



Click Here to Expand Forum to Full Width