3 Replies Latest reply on Nov 9, 2008 11:20 AM by Harbs.

    Script UI onChange events

    Harbs. Level 6
      Hi everyone,

      I'm trying to figure out if there's a way to get an onChange event to
      fire when a EditText widget has its text changed progaramatically and
      then loses focus.

      Basically, I have an IntegerEditBox widget which has a nudge property
      (thanks to Bob Stucky for most of that code). The nudging works great,
      but when you change the EditText's text property, it doesn't trigger an
      onChange event when the EditText loses focus. I can dispatch an onChange
      event each time it's nudged, but that means an AWFUL lot of extra
      processing...

      Any ideas?

      TIA.

      --
      Harbs
      http://www.in-tools.com