Combobox.click n'existant pas
Private Const CB_SHOWDROPDOWN& = &H14F
Private Declare Function SendMessage& Lib "user32" Alias "SendMessageA" _
(ByVal hwnd&, ByVal wMsg&, ByVal wParam&, lParam As Any)
Private Sub Command1_Click()
SendMessage Combo1.hwnd, CB_SHOWDROPDOWN, 1, ByVal 0&
End Sub
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionPrivate Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click ComboBox1.DroppedDown = True End Sub Private Sub ComboBox1_MouseEnter(sender As Object, e As System.EventArgs) Handles ComboBox1.MouseEnter ComboBox1.DroppedDown = True End Sub
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
ComboBox1.DroppedDown = True
End Sub