Jump to next box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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? I'd like to write this in Visual Basic 6.

Thanks.
 
Xero said:
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? I'd like to write this in Visual Basic 6.

Call the textbox's 'SetFocus' method. You can check the length in the
textbox's 'Change' event using 'Len'.

BTW: This is a VB.NET language group, for questions related to VB6
programming consider posting to an appropriate group in the
microsoft.public.vb.* hierarchy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top