Solved

ListBox

Posted on 1998-07-28
2
237 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

831 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