By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,660 Members | 1,953 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,660 IT Pros & Developers. It's quick & easy.

Rows displayed for listbox

P: n/a
I have a listbox on a datasheet, and I would like it to display just a
few more items so that the user doesn't have to deal with a scroll bar.
I am using a listbox instead of a combo box so that the user cannot
type their own values, and must select only values in the listbox. The
problem is that the listbox doesn't appear to have the listrows
property that a combobox does for defining the number of items
displayed. Is there some other way to set the number of items
displayed?

If someone knows of a way to prevent users from entering their own
values in a combo box, then I could do that instead.

Thanks in advance.

Nov 13 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
If someone knows of a way to prevent users from entering their own
values in a combo box, then I could do that instead.


Look at the LimitToList property of the combobox (True)

Arno R
Nov 13 '05 #2

P: n/a
Thank you!!!

Nov 13 '05 #3

P: n/a
How about setting the LimitToList property to True?

Doesn't get much easier than that!

Nov 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.