I am trying to use the following code to move to other controls every time someone presses Enter but this code seems to require some changes to function with telerik radtextbox especially the following line "
tbs(i).KeyDown += New KeyEventHandler(AddressOf textBoxes_KeyDown)". How can I trnslate this line into telerikPublic Partial Class Form1Inherits FormPrivate tbs As TextBox()Public Sub New()InitializeComponent()tbs = New TextBox() {textBox1, textBox2, textBox3}For i As Integer = 0 To tbs.Length - 1tbs(i).Tag = itbs(i).KeyDown += New KeyEventHandler(AddressOf textBoxes_KeyDown)Nexttbs(0).Focus()End SubPrivate Sub textBoxes_KeyDown(sender As Object, e As KeyEventArgs)Dim tb As TextBox = TryCast(sender, TextBox)If tb IsNot Nothing ThenIf e.KeyCode = Keys.Enter ThenDim tag As Integer = CInt(tb.Tag)If tag = 2 Thentbs(0).Focus()Elsetbs(tag + 1).Focus()End IfEnd IfEnd IfEnd SubEnd Class