how delete row from listbox loaded by callback function?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how do I delete a row from a listbox which is loaded by callback function?

I need to allow the user to click on an item in the list and then click a
'delete' button'. Is this possible?
 
You'll have to have some way in the callback function to identify which row
should no longer be shown and do a refresh on the listbox when the delete
button is invoked.
 
What I did was to save the listindex in a collection. Then in the Callback
function, I test if the item is in the collection and append 'Deleted' to the
listbox row. I could not find any way in the callback function to tell Access
to ignore an item. For that particular call all it seems you can do is to
fill the row with something.
- David
 
Back
Top