|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
emulate tab keyHI
In a edit form which has text boxes is it possible to emulate TAB and Shift-TAB with the UP & DOWN keys Thanks in advance yes have a look at SelectNextControl
'Example Private Sub Textbox_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txt1.KeyUp, txt2.KeyUp, txt3.KeyUp If e.KeyCode = Keys.Up Then Me.SelectNextControl(CType(sender, Control), False, True, True, True) ElseIf e.KeyCode = Keys.Down Then Me.SelectNextControl(CType(sender, Control), True, True, True, True) End If End Sub Show quoteHide quote "Starbuck" <starb***@tisconi.com> wrote in message news:u$4BdR0MGHA.536@TK2MSFTNGP09.phx.gbl... > HI > > In a edit form which has text boxes is it possible to emulate TAB and > Shift-TAB with the UP & DOWN keys > > Thanks in advance > > Many thanks
Show quoteHide quote "AMDRIT" <amd***@hotmail.com> wrote in message news:uSn1v40MGHA.2604@TK2MSFTNGP09.phx.gbl... > yes have a look at SelectNextControl > > 'Example > Private Sub Textbox_KeyUp(ByVal sender As Object, ByVal e As > System.Windows.Forms.KeyEventArgs) Handles txt1.KeyUp, txt2.KeyUp, > txt3.KeyUp > If e.KeyCode = Keys.Up Then > Me.SelectNextControl(CType(sender, Control), False, True, True, True) > ElseIf e.KeyCode = Keys.Down Then > Me.SelectNextControl(CType(sender, Control), True, True, True, True) > End If > End Sub > > > > "Starbuck" <starb***@tisconi.com> wrote in message > news:u$4BdR0MGHA.536@TK2MSFTNGP09.phx.gbl... >> HI >> >> In a edit form which has text boxes is it possible to emulate TAB and >> Shift-TAB with the UP & DOWN keys >> >> Thanks in advance >> >> > >
by default, public or private?
Getting current user name Reference to a variable need help on DateDiff function! Getting Color Depth / Quality of display adpater / screen Replace Selected Text printing problem with dotmatrix printer using vb.net Which collection object to use similar to SortedList\Hashtable BindingSource.AddNew Properties of a Property |
|||||||||||||||||||||||