Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Auto Tab Between Dialog Text Boxes


1 reply to this topic

Superfreak3

Superfreak3
  • Full Members
  • 437 posts

Posted 27 September 2006 - 20:06

Here's the situation....

I have a dialog that appears with four different text boxes used to gather registration code information. If the application is installed previously, these boxes are prepopulated with an existing registration code pulled from a database.

I currently have the Max. Length of each box set to 4.

What I would like to do is, if the user is entering a different registration code from what is existing, have all pre-populated boxes clear when text changes in the first box.

Secondly, when each box entry reaches a length of four, I would like to 'auto tab' to the next box.

Is there an easy way of accomplishing this? Can I subscribe to some vbscript or something to accomplish?

Any points to information or help would be GREATLY appreciated.

ohmy.gif Thanks! ohmy.gif

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 September 2006 - 22:55

I think the MaskedEdit control can do this.