Solved

Combo box always showing last item

Posted on 2002-04-24
6
126 Views
Last Modified: 2010-05-18
I have combo box with the  following properties:
sorted = True
style= 2-Dropdown List

I fill some number series in this combo,
e.g AC01010001,SAC01010002,SAC01010003,SAC01010004........


Now when i click first or any item from this combo it always take me to last one.
i.e if i select SAC01010001, it take me to SAC01010004

What can be the reason?
0
Comment
Question by:sachin_raorane
6 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 100 total points
ID: 6965339
There must be some code in the click or change event handler, otherwise there is no reason.
Please verify (eventually post) your relevant code.

CHeers
0
 
LVL 5

Author Comment

by:sachin_raorane
ID: 6965383
thanx for ur suggestion.

I got the answer.

I was filling some text box on selection of the number from combo.
In one of the text box i was using SendKey "{END}"
this was causing the problem.
0
 
LVL 5

Author Comment

by:sachin_raorane
ID: 6965384
thanx for ur suggestion.

I got the answer.

I was filling some text box on selection of the number from combo.
In one of the text box i was using SendKey "{END}"
this was causing the problem.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

 
LVL 5

Author Comment

by:sachin_raorane
ID: 6965385
thanx for ur suggestion.

I got the answer.

I was filling some text box on selection of the number from combo.
In one of the text box i was using SendKey "{END}"
this was causing the problem.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7660864
sachin_raorane, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Accept angelIII's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7755426
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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 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…

790 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