Is there any way to add shortcuts to the design-time VB interface?
For instance, I would like to be able to add a textbox to my form by pressing Ctrl + Shift + t or something of that nature...
Can this be done?
Thankx,
Squirrelly1
Printable View
Is there any way to add shortcuts to the design-time VB interface?
For instance, I would like to be able to add a textbox to my form by pressing Ctrl + Shift + t or something of that nature...
Can this be done?
Thankx,
Squirrelly1
Set KeyPreview of the form to True . Then use this code .
VB Code:
Private Sub Form1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyUp If e.Shift AndAlso e.Control AndAlso e.KeyCode = Keys.T Then 'load control creator at runtime End If End Sub