¦p¦ó¨îTextbox¦r¼Æ~·í¦r¼Æ¨ì¤F~´«¤U¤@ÓTextbox
- ©«¤l
- 703
- ¥DÃD
- 276
- ºëµØ
- 0
- ¿n¤À
- 1005
- ÂI¦W
- 1
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-5-29
|
¦p¦ó¨îTextbox¦r¼Æ~·í¦r¼Æ¨ì¤F~´«¤U¤@ÓTextbox
¨Ò¦p¦³Textbox1,Textbox2,Textbox3
Textbox1 ¨î¦r¼Æ1
Textbox2 ¨î¦r¼Æ4
Textbox3 ¨î¦r¼Æ4
§ÚÂI¿ïTextbox1
¤@¦¸¿é¤J5ӼƦr411120848
Textbox1 ¥X²{ 4
Textbox2 ¥X²{ 1112
Textbox3 ¥X²{ 0848 |
|
|
|
|
|
|
- ©«¤l
- 703
- ¥DÃD
- 276
- ºëµØ
- 0
- ¿n¤À
- 1005
- ÂI¦W
- 1
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-5-29
|
¥»©«³Ì«á¥Ñ av8d ©ó 2013-11-12 10:37 ½s¿è
§ä¨ì¤èªk¤F~- Private Sub TextBox1_Change()
- If TextBox1.MaxLength = 1 Then
- TextBox2.SetFocus
- End If
- End Sub
½Æ»s¥N½X ¥i¬O¨ì³o¸Ì´N¥d¦í¤F
Private Sub TextBox2_Change()
If TextBox2.MaxLength = 4 Then
TextBox3.SetFocus
End If
End Sub
·íTextBox2¿é¤J¤@ӼƦr´N·|¦Û°Ê¸õ¨ìTextBox3
¥Ø«eµL¸Ñ¤¤ |
|
|
|
|
|
|
- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 2# av8d
³o¬O§Anªº¶Ü¡H- Private Sub TextBox1_Change()
- If Len(TextBox1) = 9 Then
- TextBox2 = Mid(TextBox1, 2, 4)
- TextBox3 = Mid(TextBox1, 6, 4)
- TextBox1 = Left(TextBox1, 1)
- End If
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 703
- ¥DÃD
- 276
- ºëµØ
- 0
- ¿n¤À
- 1005
- ÂI¦W
- 1
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-5-29
|
¥»©«³Ì«á¥Ñ av8d ©ó 2013-11-12 10:48 ½s¿è
¦^´_ 3# c_c_lai
ÁÂÁ¤j¤jªº´£¥Ü
¥Ø«e»Ý¨D¸Ñµª¦p¤U
Private Sub TextBox1_Change()
If Len(TextBox1) = 1 Then
TextBox2.SetFocus
End If
End Sub
Private Sub TextBox2_Change()
If Len(TextBox2) = 4 Then
TextBox3.SetFocus
End If
End Sub
¤]¾Ç²ß¤F¤j¤jªº¤èªk~¶¶±a¸ß°Ý¤@¤U
TextBox2 = Mid(TextBox1, 2, 4)
TextBox3 = Mid(TextBox1, 6, 4)
ªº·N«ä? |
|
|
|
|
|
|
- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 4# av8d - TextBox1 = "411120848" ' °²³]¤§¿é¤JÈ
- TextBox2 = Mid(TextBox1, 2, 4)
- TextBox2 = Mid("411120848", ²Ä¤GÓ¦ì¸m°_¶}©l¡AºI¨ú¥|¦ì)
- TextBox2 = "1112"
- TextBox3 = Mid(TextBox1, 6, 4)
- TextBox3 = Mid("411120848", ²Ä¤»Ó¦ì¸m°_¶}©l¡AºI¨ú¥|¦ì)
- TextBox3 = "0848"
- TextBox1 = Left(TextBox1, 1)
- TextBox1 = Left("411120848", ±q¥ª¶}©lºI¨ú¤@¦ì)
- TextBox1 = "1"
½Æ»s¥N½X |
|
|
|
|
|
|