Solved

DataCombo size

Posted on 2001-08-05
4
254 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…

710 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