Peter,
Very quick and dirty
\\\
Private Sub ComboBox1_Enter (ByVal sender As Object, _
ByVal e As System.EventArg s) Handles ComboBox1.Enter
ComboBox1.DropD ownStyle = ComboBoxStyle.S imple
Me.ComboBox1.Si ze = New System.Drawing. Size(160, 152)
'size as you wish
End Sub
Private Sub ComboBox1_Leave (ByVal sender As Object, ByVal e _
As System.EventArg s) Handles ComboBox1.Leave
ComboBox1.DropD ownStyle = ComboBoxStyle.D ropDown
Me.TextBox1.Foc us() 'Next control or a nicer way
End Sub
///
I hope this helps?
Cor
"Peter Stojkovic" <Pe************ *@gmx.net>
VB 7.1 and windows.forms.
I have a comboBox on a form.
When the user goes with TAB-Key to the comboBox,
the comboBox should dropDown the ListBox automatically
and show ALL entries.
The user has no possibility to use a mouse !!
How can I program a automatic dropDown ( Showing all entries ),
if the user tabs to the comboBox ???
Thanks
for any help
Peter