hi all,


I am using a listbox on a windows form to get a list of clients, when i user click on an item it should retrieve the summary of all his invoices ( so it takes some time). I am disabling the form so that user can never click on a client before finishing the previous data retrieval , so my code is like the following:


VB Code:
  1. 'in the list1.selectedindexchanged event
  2.  
  3. me.enabled = false
  4. '''''open datareader
  5. '''''retrieve data
  6. '''''close datareader
  7. me.enabled = true


it works very very fine, except for one thing.

when i click an item with the mouse, it works great but !! when i try to navigate the items in the list by using Arrows it doesn't change the selected item. i suppose that is because of the disabling of the form. So how can i force changing of selected item before applying ( me.enabled = false)


THX in Advance


BST RGDS