473,398 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

list box click

121 100+
hi
is there any ascii code for mouse click this is because
i have atext box and a list box.when i enter two letters in the text box all the related names will appear in the list box i want to select the name either by using arrow keys and enter key or by mouse click
i was possible to code for arrow keys and then when i press enter key the names will appear in text box and list disappears.but when i use mouse click the name will appear in textbox but the list box does not disaapear.can any pls help how to go about this
Mar 9 '08 #1
6 1288
Killer42
8,435 Expert 8TB
You detect the mouse click by putting code in the Click event procedure - there isn't any "ascii code for mouse click".
Mar 10 '08 #2
VACEPROGRAMER
168 100+
yes, there isn';t but you can do this

Form1_Click or Mouse down

Dim A as Key ..
A = vbLeft key

Dim b AS Key . . .
b=vbRightKEy

and . ..


VxE
Mar 10 '08 #3
Killer42
8,435 Expert 8TB
Dim A as Key ..
As Key? What version of VB are you using, VACEPROGRAMER? And for that matter, what about you, charvi?
Mar 10 '08 #4
charvi
121 100+
As Key? What version of VB are you using, VACEPROGRAMER? And for that matter, what about you, charvi?
i am using vb6 i coded using flag and now it works
Mar 11 '08 #5
Killer42
8,435 Expert 8TB
i am using vb6 i coded using flag and now it works
Ok. Glad you got it working.
Mar 12 '08 #6
VACEPROGRAMER
168 100+
I'm using VB 5 , VB 6, VB 2003 and VB 2005 but the code is for VB 5 and 6 ., . .



VxE
Mar 12 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: tgh003 | last post by:
So lets assume I have a list of tasks in db table (table looks like: ID, task, sort) And I want to reorder the task list without updating all the records in the table. I dont want to run a sql...
1
by: NickB | last post by:
Please could someone tell me what is wrong. Ther error is: An unhandled exception of type 'System.NullReferenceException' occurred in microsoft.visualbasic.dll Additional information: Object...
8
by: sara | last post by:
I am learning Access and programming. I wanted to have the user select the departments for an ad from the list of all departments. Found code (that I could understand) on this site, and it works....
11
by: Zorpiedoman | last post by:
The problem is this: I have a list box. I set an array list as the datasource. I remove an item from the array list. I set the listbox datasource to nothing. I set the listbox datasource to...
3
by: Zorpiedoman | last post by:
Horay! I have just put the finishing touches on a new User Control... The" Jelly Button" I created a setup program which runs fine. I see the .dll nicely in the GAC. How come it does not...
1
by: akameswaran | last post by:
I have a list box, I'd like to generate a right click menu for items in the list box. The problem is unless I left click the item first, I can't figure out which item in the list I clicked over. ...
12
by: ljungers | last post by:
I'm on the home streach of my project and found that my "Reset for New Search" command button not working as desired. What should happen is that when the button is clicked a Event Procedure is run....
5
by: Sengly | last post by:
Dear all, I am working with wordnet and I am a python newbie. I'd like to know how can I transfer a list below In : dog Out: to a list like this with python:
0
by: saijin | last post by:
I'm planning to call a list of data from an XML file but when I duplicate the content inside the <data></data> it is not showing anything Here's the ActionScript 3.0 import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.