right-click on it and change to a text box. <br>
<br>
Or do you mean that you still want it to behave like a combo box ?<br>
<br>
WP <p>Bill Paton<br><a href=mailto:wpaton@neptune400.co.uk>wpaton@neptune400.co.uk</a><br><a href=
The Arrow in a combo box gets there from a .DLL call to some file we don't know about.<br>
So NO you can't get rid of it.<br>
Unless you Know "C" language and you want to design your own .OCX.<br>
Now to drop down a combo box requires an API call.<br>
I have on but it does not work in Access just Visual Basic Pro<br>
But here it is if you want to fiddle with it.<br>
the first line goes in a Module<br>
---------------------------------------------<br>
Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Long) As Long<br>
---------------------------------------------<br>
Private Sub Combo1_GotFocus ()<br>
Const CB_SHOWDROPDOWN = &H14F<br>
Dim Tmp<br>
Tmp = SendMessage(Combo1.hWnd, CB_SHOWDROPDOWN, 1, ByVal 0&)<br>
End Sub<br>
<br>
the second lines go in some event in Access Of course there is no "Combo1_GotFocus" event in Access <br>
<br>
<p> DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br>
Use a rectangle to cover the dropdown arrow. Fill the rectangle and set the border to the same color as the form. This will give the appearance that there is no dropdown arrow.<br>
<br>
HTH<br>
RDH <p>Ricky Hicks<br><a href=mailto: rdhicks@mindspring.com> rdhicks@mindspring.com</a><br><a href= > </a><br>
Just another thought, in case you didn't know.<br>
To get the dropdown of the combo box using a button, use the follwing code:<br>
<br>
Private Sub cmdDropDown_Click()<br>
DoCmd.GoToControl "YourCombo"<br>
YourCombo.Dropdown<br>
End Sub<br>
<br>
Of course "YourCombo" needs to be the actual name of your combo box.<br>
<br>
Good Luck,<br>
RDH <p>Ricky Hicks<br><a href=mailto: rdhicks@mindspring.com> rdhicks@mindspring.com</a><br><a href= > </a><br>
Docmd.GotoControl ? Is this the same as control.SetFocus ?<br>
<br>
WP <p>Bill Paton<br><a href=mailto:wpaton@neptune400.co.uk>wpaton@neptune400.co.uk</a><br><a href=
Yes it will achieve the same results, so I guess you could use control.SetFocus in place of the DoCmd.GoToControl. The main point is that the combobox must have focus before the control.Dropdown code.<br>
<br>
RDH <p>Ricky Hicks<br><a href=mailto: rdhicks@mindspring.com> rdhicks@mindspring.com</a><br><a href= > </a><br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.