Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quick question--scrollbars on textboxes?

Status
Not open for further replies.

Accesser

Technical User
Jun 3, 2002
44
US
Hey there,

I'm using 2000 and have a number of fields that are comboboxes in a form. In form view, the scrollbars for these text boxes have these little up and down arrows, and I just want the big drop down arrow. Is there a way to make the little up arrow disappear?

Thanks much
 

You are not going to be able to loose or modify the up/down arrow keys on a scrollbox, but instead when the combo box gets the focus do a cboboxname.dropdown which will drop the box; something like a quasi listbox.

Robert Berman
 
Sounds like you're using a list box control and have set the size to 1em (usually about 0.25in), which gives the list box the appearance of a spinner control (e.g., like the Copies control in a Print common dialog).

The control you want is actually a combo box (e.g., like the Save As Type control in a Save As common dialog).

Right-click your list box control, point to Change To, and click Combo Box. This will give you the drop-down arrow you want. The combo box's properties and events should be more or less the same as the list box control.

BTW, To remedy this situation in the future, open the source table in Design View, select the field and click the Lookup tab in the Field Properties section. Choose Combo Box rather than List Box for the Display Control property. Any future forms based on the table will automatically create a combo box when the field is added to the form.

Hope this helps!

Greg Edwards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top