473,322 Members | 1,408 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,322 software developers and data experts.

Combobox dropdown design

3
Normally, the dropdown list drops down and flows to right if there are multiple columns being displayed. Because my drop down are on right side of form, I would like the list to be anchored to right-most column and flow to the left so all columns display. Is this possible and how?
Sep 16 '08 #1
7 2259
NeoPa
32,556 Expert Mod 16PB
The widths of the columns are specified in the design of the ComboBox. If you design it so that the width available matches the sum of all the column widths, then you don't have the issue to start with.
Sep 16 '08 #2
chobe
3
The number of columns=3 @ 1" ea. list width=3". Idea is to anchor (not bind)dropdown to rightmost field not leftmost which is default.
Sep 16 '08 #3
NeoPa
32,556 Expert Mod 16PB
Oh NOW I know what you're on about (I think). I had to read it three or four times but I guess you mean you want the third column to be the one whose value is returned as the value of the ComboBox control.

That is done by setting the Bound Column to 3 (instead of the default of 1). This can be done in Design mode, but also on the fly if required (Me.YourComboBox.BoundColumn = 1).

Hope this helps, and welcome to Bytes!
Sep 16 '08 #4
missinglinq
3,532 Expert 2GB
I don't think the OP is talking about which column is bound. His multi-column combobox is located flush against the right hand edge of his form. When a combobox drops down, the left hand side of the drop down is flush with the left hand edge of the combobox, and the drop down extends to the right, as far as need be to display the fields. The problem is, it'll extend to the right beyond the border of the form. The OP wants to have the drop down flush with the right side of the combobox, and extend as far to the left as is needed to display all fields, thus not going beyond the border of the form. In other words, he wants to "flip" the combobox right-to-left.

Unfortunately, I don't know of any way to accomplish this.

Linq ;0>
Sep 16 '08 #5
chobe
3
I don't think the OP is talking about which column is bound. His multi-column combobox is located flush against the right hand edge of his form. When a combobox drops down, the left hand side of the drop down is flush with the left hand edge of the combobox, and the drop down extends to the right, as far as need be to display the fields. The problem is, it'll extend to the right beyond the border of the form. The OP wants to have the drop down flush with the right side of the combobox, and extend as far to the left as is needed to display all fields, thus not going beyond the border of the form. In other words, he wants to "flip" the combobox right-to-left.

Unfortunately, I don't know of any way to accomplish this.

Linq ;0>

Your understanding of what I am trying to accomplish is right-on. Hopefully, someone can come up with a solution...thanks all for the effort!
Sep 16 '08 #6
Stewart Ross
2,545 Expert Mod 2GB
It can't be done using an Access combo - which is what Linq mentioned in saying he knew of no way to accomplish it.

-Stewart
Sep 16 '08 #7
NeoPa
32,556 Expert Mod 16PB
As far as I understand it, this only happens when the Width property is less than the List Width property. As I thought I'd made clear in post #2, this can be tidied up by managing these three properties (The last being Column Widths).

If you are still having problems, please post in the values you're using for these three properties and we'll see if we can manage to resolve this for you.
Sep 16 '08 #8

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

Similar topics

0
by: jean | last post by:
hi: i am developing a custom combobox for my company's needs that is made up of a textbox, listbox, button. i am using c#. everything is fine except for one issue. in a normal combobox,...
7
by: Nicolae Fieraru | last post by:
Hi All, I am trying to change the rowsource of a combobox when I click on it. I played with many events, associated with the form and the combobox, but still haven't figured out what is the way...
7
by: NCrum | last post by:
I want to set the Default value of a Combobox for any changeable record and have got this working but it is totaly unsatisfactory see the code below I loop through the items in the Combo looking...
2
by: pei_world | last post by:
I want to implement a key hit with enter to dropdown a combobox that is in the datagrid. in this case I need to override its original behaviours. I found some codes from the web. Does anyone know...
15
by: guy | last post by:
Where can i find an example of authoring a combobox control FROM SCRATCH in vb.net ??
0
by: Mike | last post by:
Hi all! I have an OwnerDrawVariable ComboBox in .net. In the ComboBox DropDown event I display another control - works well. In the control's Leave event I remove the control - works well. So...
4
by: Kalvin | last post by:
I have seen this question raised, but I cannot find an answer. I have an MDI app, when I load an child form with a combobox being bound in the load event, it won't allow me to set selectedindex =...
5
by: Gil | last post by:
Is there a way to tell if a combbox is in dropdown mode. I tried and if statement combobox.dropdown = true but i get an error. dropwndown function doesnt store if its true or false what i am...
1
by: amber | last post by:
I'm having an issue with a combobox that is making no sense to me at all. I have a form with several comboboxes/textboxes. The values in these boxes are based on a datarowview, which is based on...
9
by: Franky | last post by:
I have a usercontrol that inherits from ComboBox I'd like to add the feature that the user can delete any item Best would be that he could right click an element and a messagebox would ask if...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.