i have a list box for names and a lable for addresses of those names.
When i run my program and highlight a name the corosponding address appears.
I have a delete function. However, when i wish to delete a name from the list box i can not delete the address at the same time.
I realise that there is something wrong with my code but i dont know how to fix it
please help thank you
Main Topics
Browse All Topics





by: caraf_gPosted on 2000-01-26 at 09:07:56ID: 2389544
This question is too vague. What do you mean exactly. How is the name in the list box linked to the text in the label?
Having said all that, there only is one way of doing it. To remove an item from a list box you must use the .RemoveItem method, and to empty a label you must set its caption to ""
I get the impression I'm missing something here. Can you explain yourself further?