+ Reply to Thread
Results 1 to 4 of 4

EnableEvents

  1. #1
    Forum Contributor
    Join Date
    09-02-2005
    Posts
    146

    EnableEvents

    I'm using the following:

    Please Login or Register  to view this content.
    where TxInfo.Tbox_LongDecDeg has a change event tied to it. Even though I disabled events in the line before, changing that value is still dropping me into the the Tbox_LongDecDeg_Change() event. Am I using an incorrect syntax?
    Last edited by wilro85; 08-27-2009 at 07:49 PM.

  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

    Re: EnableEvents

    Disabling events doesn't disable form events.

    You need to set a public Boolean that is tested in the texbox event processors (change, exit, ...), and then clear it when you're done.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    09-02-2005
    Posts
    146

    Re: EnableEvents

    Ah. How very counter-intuitive.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: EnableEvents

    Yup.

    I think everyone learns that by discovery.

+ 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