Re: Jump to next textbox upon character entering

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: One Handed Man \( OHM - Terry Burns \) ("One)
Date: 11/05/04


Date: Fri, 5 Nov 2004 17:08:32 -0000

First of all set the MaxLength property to 1

Secondly, if you want to move to the next control after one character is
changed, then you can use
SendKeys.SendWait("{TAB}")

HTH

-- 
OHM ( Terry Burns )   * Use the following to email me *
 Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
 For i As Int32 = 0 To ch.Length - 1
     ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
 Next
 Process.Start("mailto:" & New String(ch))
--
"Xero" <jeff_@_chezjeff_._net(remove_underscores_and_this)> wrote in message 
news:7AD82BE5-EA50-44F0-B1D4-6C0287760330@microsoft.com...
> Hello. I am using vb.net.
>
> I have a series of textboxes and each of them can contain one letter only.
> How can I get the cursor jump to the next textbox after one has been 
> filled
> with a letter? Thanks.
>
> -- 
> Xero
>
> http://www.chezjeff.net
> My personal web portal 


Relevant Pages

  • RE: design one event handler for multiple textboxes
    ... you can set the MaxLength property by code. ... Dim c As Control ... but for 30 textboxes it is still ... one subroutine and call that in the individual event handlers. ...
    (microsoft.public.excel.programming)
  • Re: vb as front end of a fortran dll
    ... How does one link the logic of this so that the command ... If the Textboxes are related then consider putting them in a Control ... values that vb has to give fortran in a manner that fortran expects. ...
    (microsoft.public.vb.general.discussion)
  • Re: Calculations on a Continuous Form
    ... if the control name is txtYield, ... > I think I was creating a circular reference, but if I am, I'm not sure how ... > In the footer, I want to get the product of the Yield textboxes. ... > don't know how to refer to the Yield textboxes in a continuous form. ...
    (microsoft.public.access.forms)
  • Re: VBA user, first time on Vbasic. Need help referencing a control
    ... you are getting back a String object and ... This would give you comprable results to a VB 6 control array. ... In addition to the Masked TextBoxes I also need to ... controls that need to be altered all have the same naming convention ...
    (microsoft.public.dotnet.general)
  • Re: force dynamically added controls to be initialized
    ... > textboxes do not use viewstate for their value, they get from postback ... >> regards to your issue is that, when you dynamically load a Control class ...
    (microsoft.public.dotnet.framework.aspnet)