0 Replies Latest reply on Apr 3, 2008 9:41 AM by riesvantwisk

    cancel a click event on a mx:list

    riesvantwisk Level 1
      Hey All,

      I have a listbox with a bunch of items. Now when a user select a item in the ListBox I need to show an Alert that is going to say 'Copy has been changed but not saved, are you sure you want to continue?' And the user is asked to cancel or continue.

      If the users cancels the request, then I need to put the selectedIndex back to what it was before the user clicked the ListBox.

      What is the general procedure for doing this teh flex way??

      Sure I can remember the selectedIndex ina global variable, but that is rather ugly, so I was wondering what the flex way is.

      Any examples???

      Ries