Results 1 to 4 of 4

Thread: Combobox change events [Resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950

    Combobox change events [Resolved]

    I have two comboboxes that are populated from a table (projects), in one case, and just adding items in another (months). The user can navigate through existing records and just view the data. Or, if they want, they can change the data, i.e. select a different project or month and save the changes. That works fine.
    But say the user makes a change, forgets to save it, and clicks the button to move to the next or previous record. I want to prompt them to save the change, if they want.
    The problem is that each time they advance or go back through the records, even if only viewing, the prompt comes up. I checked for a change in data in SelectedIndexChanged, but that fires when the record changes. Then I tried Click, but apparently that fires as well whenever the record changes.
    Is there a way to only trap a change when the user actually changes it, not automatic events? Thanks.
    Last edited by salvelinus; Jan 7th, 2004 at 11:40 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width