Click to See Complete Forum and Search --> : Cobo box--moving dropdown box
ikep
August 10th, 1999, 06:34 PM
I'd like to be able to move the dropdown portion of a combo box. Since I resize the dropdown width by sending the CB_SETDROPPEDWIDTH message to the control, I now need to be able to tell if the dropdown extends the border of my main window. In which case, I want to position the dropdown to the left of the combo. I've tried getting a window handle to it, but to no avail. Any ideas?
Praba S
August 10th, 1999, 09:11 PM
u really can't move the postition of the dropdown.
u can get that effect by using 2 controls say a text box and list box. An activex control can be created for this
rgds
Praba
Barkri12
March 24th, 2009, 12:04 AM
Combo boxes are a very useful feature of Access and will enhance the look and feel of your forms.
Let's take an example of countries
Your form may require name, address and country details. If for example you wanted to record the United Kingdom. The United Kingdom can be known by a few other names. For example UK, England, Great Britain and Britain. Now if you entered a different country name each time you wanted to use the United Kingdom this can be problematic for a number of reasons.
If you wanted to search on how many customers you have in the UK you would get a misleading result. Your query may bring up all customers in the UK if you enter this as criteria for searching, but what about records that have been entered as 'England'?
The same problem would occur with the USA, US, America, United States of America
There is also the possibility of spelling a country incorrectly. If you have one record with Brazil and another with Brasil then when you come to search you will get the wrong results.
So how can we get around this problem?
The answer is to use a dropdown box or what is known in Microsoft Access as a combo box. This will also speed up data entry because you will be selecting an item from a list and not typing it in.
boxyourstuff.com
dglienna
March 24th, 2009, 12:20 AM
Combo boxes are a very useful feature of Access and will enhance the look and feel of your forms.
boxyourstuff.com
Who said anything about Access? He mentioned DDCB in the title, and what is your link for?
DataMiser
March 24th, 2009, 12:44 AM
LOL 10 year old thread to boot
WoF
March 24th, 2009, 09:33 AM
Not the first one... :D
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.