Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DataCombo size

Posted on 2001-08-05
4
Medium Priority
?
259 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 200 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

876 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