how delete row from listbox loaded by callback function?

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?
 
D

Douglas J. Steele

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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top