DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How do I cancel tb Exit event

  1. #1
    Join Date
    Jan 2007
    Posts
    1

    How do I cancel tb Exit event

    Neophite here... So I've got edits for a text box in my Exit event (not even sure this is right place), and I don't want the user to exit the textbox after they fail an edit. The Exit event claims that, "To prevent the control from losing focus, assign True to the Cancel argument of the Exit event." Can someone help me with how to do this given this sub statement: Private Sub tb_Rev_Exit(ByVal Cancel As MSForms.ReturnBoolean).
    OldDogNewTricks
    Be kind. Everyone you meet is fighting a hard battle. Plato

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Cancel = True
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. DataAdapter RowUpdated Event Problem (C# 2.0)
    By me_code2004 in forum .NET
    Replies: 1
    Last Post: 06-07-2006, 08:52 PM
  2. Replies: 3
    Last Post: 05-19-2003, 10:31 AM
  3. Replies: 1
    Last Post: 01-06-2003, 11:24 AM
  4. How long before the next version??
    By _CAG in forum .NET
    Replies: 146
    Last Post: 08-12-2002, 10:40 PM
  5. Re: App Object (fixes)
    By Rob Teixeira in forum .NET
    Replies: 129
    Last Post: 06-06-2002, 05:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center