Solved

ListBox

Posted on 1998-07-28
2
240 Views
Last Modified: 2010-05-03
I want to use the DELETE key on keyboard to delete a item in a LISTBOX but have not had much luck!
0
Comment
Question by:adeline072898
2 Comments
 

Accepted Solution

by:
subhashgarg earned 100 total points
ID: 1466947
Use the KeyUp event for the list box and check the keycode for 46. If you want to delete the highlighted entry, irrespective of the focus, then set the form 'KeyPreview' property to TRUE and
check the same keycode in form's KeyUP event.

0
 

Author Comment

by:adeline072898
ID: 1466948
You are truely the best!!!!!!!!!!
Thank you very much for responding so quickly

Regards Adeline
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Paint/Redraw window while dragging 16 86
VB6 - Compare and highlight cell not the same 3 56
Visual Studio search word table and return Cell index 8 74
Advice in Xamarin 21 109
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question