Stop listbox scrolling

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?YW1iZXI=?=

    #1

    Stop listbox scrolling

    Hello!

    I have a form that contains a tabcontrol, that is populated based on which
    record a user selects in a listbox on the form.
    I just added code to 'mytab.validati ng' so if the user tries to navigate to
    another record, and they have made changes, they are prompted to save.
    Here's my problem - when the user clicks another record in the listbox, the
    "save?" dialog box pops up, regardless whether the user clicks 'yes' or 'no',
    after the dialog box disappears, the listbox starts scrolling down until they
    user moves their mouse back over the listbox, and clicks a record.

    How can I fix this?

    Thanks!!
    Amber


Working...