+ Reply to Thread
Results 1 to 2 of 2

Difference Between Specific Events

Hybrid View

  1. #1
    Registered User
    Join Date
    07-02-2008
    Location
    Fort Worth, TX
    Posts
    99

    Difference Between Specific Events

    What are the primary differences regarding Text Box Controls Exit, Change, and BeforeUpdate, and why would I choose one over the other?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    You could write some code to check the order of events; I think the sequence is

    Enter
    BeforeUpdate
    AfterUpdate
    Change
    Exit

    In my experience, the easiest is the Exit event. You see what the user intended to leave in the textbox, and can do validation as necessary.

    Using BeforeUpdate/AfterUpdate/Change requires you to handle input character by character.
    Entia non sunt multiplicanda sine necessitate

+ 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