ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¦p¦óÅýMsgBox¤£­n¥X²{¨â¦¸

[µo°Ý] ¦p¦óÅýMsgBox¤£­n¥X²{¨â¦¸

text.rar (513.33 KB)

¥´¶}¸ê®Æ«á¡A«ö¤Uµn¥´«ö¶s¡A¿é¤J¦~/¤ë«á

¤ë½Ð¿é¤J13¥H¤W

¦]¬°¤º¦³°£¿ù§PÂ_~¤j©ó12·|¸õ¥X¿ù»~µøµ¡
¨Ã²M°£ TextBox2~

´ú¸Õ«áµo²{~¥L·|¸õµ¡¨â¦¸~½Ð°Ý¬O¤°»ò­ì¦]?
¬O¦]¬°·|§PÂ_¨â¦¸ TextBox2¬O§_>12¶Ü?
§Ú¸Ó¦p¦ó­×§ï©O¡HÁÂÁ¦U¦ì¦Ñ®v¡I

¦^´_ 1# av8d
  1. Private Sub TextBox2_Change()
  2.     If TextBox2 = "" Then Exit Sub
  3.     If TextBox2 > 12 Or TextBox2 <= 0 Then
  4.         MsgBox "¤ë¥÷¿é¤J¿ù»~"
  5.         TextBox2 = ""     '·|¦A±Ò°Ê TextBox2_Change ³oµ{§Ç
  6.     Else
  7.         If Len(TextBox2) = 2 Then
  8.             TextBox3.SetFocus
  9.         End If
  10.     End If
  11. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 2# GBKEE


    ·PÁ¦Ѯv¸Ñµª~¨ü¯q¨}¦h~

TOP

        ÀR«ä¦Û¦b : ¸Ü¦h¤£¦p¸Ü¤Ö¡A¸Ü¤Ö¤£¦p¸Ü¦n¡C
ªð¦^¦Cªí ¤W¤@¥DÃD