Good Day/Evening,
I've been using the new CommandBar which looks awesome I think but I have a problem with the CommandBarTextbox, I've put the CommandBarTextbox in the CommandBar and added the following code below but the events do not get hit at all. Any help would be much appreciated.
I've been using the new CommandBar which looks awesome I think but I have a problem with the CommandBarTextbox, I've put the CommandBarTextbox in the CommandBar and added the following code below but the events do not get hit at all. Any help would be much appreciated.
Public Sub New() ' This call is required by the designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. AddHandler txtMyCommandTextBox.KeyDown, AddressOf txtMyCommandTextBox_KeyDown AddHandler txtMyCommandTextBox.KeyPress, AddressOf txtMyCommandTextBox_KeyPress AddHandler txtMyCommandTextBox.KeyUp, AddressOf txtMyCommandTextBox_KeyUpEnd SubPrivate Sub txtMyCommandTextBox_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) RadMessageBox.Show(e.KeyCode)End SubPrivate Sub txtMyCommandTextBox_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) RadMessageBox.Show(e.KeyChar)End SubPrivate Sub txtMyCommandTextBox_KeyUp(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) RadMessageBox.Show(e.KeyCode)End Sub