Solved

DataCombo size

Posted on 2001-08-05
4
252 Views
Last Modified: 2010-05-02
Hi,

I am using a datacombo and when adding less then 8 lines the size of the combo seems to be 8 lines (when you open it). In other words there is white space at the bottom. How can I choose the size of the combo (when open)
0
Comment
Question by:adinas
  • 2
4 Comments
 
LVL 5

Expert Comment

by:AndrewDev
ID: 6352943
Have you tried the .VisibleItems property.
eg. DataCombo1.VisibleItems(1)
This may do it
Regards
Andrew
0
 
LVL 1

Author Comment

by:adinas
ID: 6353059
Sorry, but this didn't work. And according to msdn this "Returns an array of bookmarks, one for each visible item in the DataCombo or DataList control's list"

It doesn't have to do with my problem
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 50 total points
ID: 6353476
you cant change this with the DataCombo, at least, no one i have seen has found a way.  you can only manipulate the regular combobox via the API to alter number of dropdown items, dropdown height/width, etc.
0
 
LVL 1

Author Comment

by:adinas
ID: 6358355
that is horrible!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

777 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