Solved

Select an item from listbox

Posted on 2008-06-15
2
186 Views
Last Modified: 2010-04-30
If I want to select an item from the listbox whenever the user either double click by the mouse or by press Enter on keyboard. Shall I to make to events one for double click and another to Keypress. Or I can make them togather
0
Comment
Question by:Ahmadal_najjar2003
2 Comments
 
LVL 3

Accepted Solution

by:
amritgill earned 500 total points
ID: 21790837
no u have to create two different events for two different methods..that is one for the double click and one for the keyboard event
0
 

Author Closing Comment

by:Ahmadal_najjar2003
ID: 31467458
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now