Results 1 to 2 of 2

Thread: dropdown datacombo

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2000
    Posts
    27

    dropdown datacombo

    Does anyone know how to force list of a datacombo box to dropdown? The SendMessage(Combo1.hwnd, CB_SHOWDROPDOWN, True, 0) works great with a regular combo box but this doesn't seem to work with datacombo boxes. Any ideas???

  2. #2
    Addicted Member VB6Coder's Avatar
    Join Date
    Apr 2001
    Location
    Northampton, UK
    Posts
    185
    Try using the SendKeys statement

    e.g.

    ' Show the Data Combo drop down list
    DataCombo1.SetFocus
    Call SendKeys("%{DOWN}")


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width