Solved

DataCombo size

Posted on 2001-08-05
4
255 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month3 days, 15 hours left to enroll

630 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