[Visual Basic] Private Sub TreeView_KeyDown( _
ByVal sender As Object, _
ByVal e As KeyEventArgs _
) Handles _
TreeView.KeyDown
[Visual Basic] Private Sub TreeView_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TreeView.KeyDown
If ((e.KeyCode = Keys.Up) OrElse (e.KeyCode = Keys.Down)) AndAlso (e.Modifiers = Keys.Alt) Then
e.Handled = True
FocusOnVisibleChanged = True
Me.DroppedDown = False
End If
End Sub
Plattformen: Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition