Forcing combo box to drop down

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kevin

    Forcing combo box to drop down

    I am trying to get a combo box to automatically dropdown. I have tried using
    both

    me.cboComboName .Dropdown
    and
    SendKeys "{F4}"

    in the OnEnter, OnGotFocus and OnClick events and none seem to work. If I
    put the cursor in cboComboName on the form and press F4, it drops down but
    no go with code. Whats Up??


  • Rick Brandt

    #2
    Re: Forcing combo box to drop down

    Kevin wrote:
    I am trying to get a combo box to automatically dropdown. I have
    tried using both
    >
    me.cboComboName .Dropdown
    and
    SendKeys "{F4}"
    >
    in the OnEnter, OnGotFocus and OnClick events and none seem to work.
    If I put the cursor in cboComboName on the form and press F4, it
    drops down but no go with code. Whats Up??
    me.cboComboName .Dropdown

    ....in the GotFocus event has always worked for me.


    --
    Rick Brandt, Microsoft Access MVP
    Email (as appropriate) to...
    RBrandt at Hunter dot com


    Comment

    Working...