1 Reply Latest reply on Jun 23, 2006 6:27 AM by inlineblue

    TextInput Events - Which to use?

    is2
      I would like to know on the TextInput component what are the proper events to handle when the user leaves the TextInput component.

      If the the user exits the component, is there an OnExit event?

      I am confused and cannot find a good declarative source for the events and usuage for TextInput and ComboBox. I also cannot seem to get the change() event to work on a combobox if we programmatically set the combobox value from a lookup.

      Thanks.

        • 1. Re: TextInput Events - Which to use?
          inlineblue Level 1
          For the TextInput, you want to use the focusOut event. The help in Flex Builder details all these events.

          The change event for any component is fired only on user interaction, not programmatic changes. If you want an event for programmatic changes as well, try the valueCommit event. However, note that the event handler cannot change the value of the component or it'll cause infinite recursion.