Results 1 to 3 of 3

Thread: TextBox.Leave not working

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2003
    Posts
    219

    Question TextBox.Leave not working

    Will anyone tell me why textbox1.leave() isn't working? Is this suppose to be equivlent to VB6's textbox.lostfocus()? I'm trying to get the focus off the textbox with Leave but it's got a blue underline under the code.

    Any help is appreciated!

    ljCharlie

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Leave is an event. Try just calling the Focus method of another control on the form or the form itself.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2003
    Posts
    219
    Thank you very much! I thought Leave is an event because I did a search on the help and it said that Leave is the equivalent to VB6's lostfocus event.

    Anyway, I'll learn to live with it then.

    Thanks!

    ljCharlie

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