removing the cursor

D

dave

Does anyone know how to remove the cursor from a combo box in a form. Locking
it or disabling it doesn't work because i need to use it to navigate records
but don't want the cursor there.
 
O

Ofer

On the GotFocus event of the combo, set the focus to another field in the form
Me.FieldName.SetFocus
 
D

dave

ok as it turns out from searching the help pages is a drop-down list box
however i don't seem to have an option to create one of those in my toolbox.
how do i make one?
 
M

Mr B

You may want to try setting the focus to another control usin the "After
Update" event rather than the OnFocus event. If you use the OnFocus event it
will not let you select anything fromt the list.

If you use something like:
with me.ATestBoxlName
.value = Me.YourComboBoxName
.setfocus
end with

this will let you make a selection and immetiately place that value in a
text box and then set the focus to that text box.
 
D

dave

Thats not really what I want. I found out about a "drop down list box" in the
help pages but i don't seem to have an option to create one in my toolbox
that i see. i'm running access 2003 if thats any help.
 
M

Mr B

Dave,

Sorry I did not understand your question.

I have not seen a time that the tool to insert a Combo Box was not available
in the Tool Box Menu. Are you sure you are not just overlooking it. Stop
your cursor over each of the tools. The tool you need will have a tool tip of
"Combo Box".
 
Top