I have a set of MaskBoxes (each with Group Cyphered & with MaxLength of 1) with Names of CypheredMaskBox1, CypheredMaskBox2, CypheredMaskBox3 etc. CypheredMaskBox1 has Tag of 1, CypheredMaskBox2 has Tag of 2 etc. In my Cyphered_Change event, I do validation of a user-entered character but want to SetFocus to the next (i.e. with Tag of 1 greater than current Tag) in case of successful validation. How do I do this (ideally by extending the code fragment below)?
Code fragment: Dim iNextTag As Integer Dim strNextTag As String Dim strNextCyphered As String iNextTag = CInt(Last.Tag) + 1 strNextTag = CStr(iNextTag) strNextCyphered = "CypheredMaskBox" & strNextTag -- John ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user