Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Control combo box drop down list position 1

Status
Not open for further replies.

hermanlaksko

Programmer
Aug 26, 2001
944
DK
Normally when opening a combo box, it's list will drop down to either the right or left side, however would it be poss to choose/control the side and not have it "dictated" , via vba.

Also would it be poss to detach the list from the combo box itself ?
Thanks for any reply in advance.

Herman
Say no to macros
 
This question based off of original question and discussion found here: (for reference)
thread702-1598485
 
hermanlaksko,

Some APIs can basically be run the same as basic VBA modules. For instance, there's the SendKeys API that I've used in the past, which was basically just a few procedures pasted into a VBA module, and then called from other procedures/functions:

Well, that obviously may not be the be-all/end-all, but it may give you at least a glimpse into what you're looking to do, based on your last post in the other thread.
 
Hi Kjv

Thx for your reply.
I am avare of the basics of the API's and I was looking for one that could help me in accomplish the control of a combo box and it's dropdown list.
The sendkeys feature will not, as I see it, help me in this.
But thanks for your interest and effords.

Herman
Say no to macros
 

Herman, Yes, I realize that it will not DIRECTLY help you in the situation. However, from your statement in the other thread:
Herman said:
I dont mind using an API call, I am just not sure how

I had nothing to go on, but the fact that you did not know how to use an API. What better way to see HOW to use an API than by reading up on the creation and usage of one. Thus, the example I readily think of, since it's one I've personally used on a few different occasions.

As to the specific API, try this search.

 
Hi MajP

Thanks for your effords.
It was not the solution I was looking for but your solution is defenetly useable and is the solution I'll use for now.

If I find a better one I'll let you you know - Thx a mill :)

Herman
Say no to macros
 
Yes if you get a solution please post back for everyone's knowledge. Also post a screen shot so I can understand the effect you are trying to achieve.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top