When we click on the combobox drop-down control in our window form, it automatically displays a list.
But when we click the tab and go to this control from the keyboard, it does not automatically display the list. So in another, to automatically show the list when receiving focus, what needs to be done?
Set the DroppedDown property for the combo box to true.
Private Sub myComboBox_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles myComboBox.GotFocus myComboBox.DroppedDown= true End Sub
I would like to mention here.
I used the Enter event to show a dropdown with DroppedDown = true,
- combobox, , .
- .
Source: https://habr.com/ru/post/1753670/More articles:Using element hiding (`new`) to get a more specific return type - inheritanceGet Twitter feed on my site using PHP - htmlWhy is this Twitter API script not working? - xmlWhat is Mocks recording and playback? - mockingSharePoint Site Collection: Relationship with DB WSS_Content - databaseSQL validation in IntelliJ IDEA: how to disable it? - javaWidespread Weblogic deployment during development (such as WSSD / RAD) - eclipseWhy with PHP hundreds of DB connections do not matter ... but in a C ++ application they do? - c ++List of subordinates connected to the master - Hudson - hudsonHow to make a template type work in this case? - c ++All Articles