Ãʺ¸ ºñÁÖ¾óº£ÀÌÁ÷ Áú¹®...

±èÈñÁø   
   Á¶È¸ 7329   Ãßõ 56    

Private Sub command1_click()
a = 10
End Sub

Private Sub Command2_Click()
a = 9
End Sub

Private Sub Command3_Click()
a = 0
End Sub

Private Sub Command4_Click()
Text1.Text = Val(a)
End Sub

command4¸¦ Ŭ¸¯Çϸé text1¿¡ a°ªÀÌ ³ª¿À°ÔÇÏ·ÁÇÕ´Ï´Ù.
±Ùµ¥ command1À» Ŭ¸¯ÇÑÈÄ command4¸¦ Ŭ¸¯ÇÏ´Ï ±×³É 0À¸·Î ³ª¿É´Ï´Ù.
command4¸¦ Ŭ¸¯ÇϱâÀü Ŭ¸¯ÇÏ¿© ÀúÀåÇß´ø a°ªÀ» command4¸¦ Ŭ¸¯ÇÏ¿´À»¶§ °ªÀ¸·Î Ãâ·ÂÇϴ¹æ¹ýÀÌ ¾î¶»°ÔµÇ³ª¿ä?
Áï À§ÀÇ¿¹Á¦¿¡¼­´Â command2¸¦ Ŭ¸¯ÇÑÈÄ command4¸¦ Ŭ¸¯ÇÒ°æ¿ì text1¿¡ 9¶ó°í Ç¥½ÃµÇ°Ô Çϴ°̴ϴÙ.

 
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.


QnA
Á¦¸ñPage 5046/5680
2015-12   1483790   ¹é¸Þ°¡
2014-05   4947141   Á¤ÀºÁØ1
2006-01   5422   ±èÇöµ¿
2007-10   4823   À±È£¿ë
2006-08   5324   À±Á¾¿Ï
2004-07   7629   ±èÀç½Ä
2007-06   4152   ±èÇÑ°á
2008-05   5446   ¿ìÆǼ®
2005-09   5729   ÇÑ¿øÁØ
2005-08   5770   ÃÖ½ÂÇö
2003-05   10098   È«Á¾¿î
2007-03   4146   ¹Ú¼ºÈÆ
2003-02   10494   ¹Ú¿µÈñ
2006-03   5411   ±¸¸í¼­
2006-06   6097   ¼ÒÇöÁØ
2006-07   6997   ÀÌÁ¦È£
2005-04   6131   À±¿µ¹è
2002-06   17203   ÇÑâ¼ö
2003-06   9318   ¹ÚÇö¼ö
2006-05   7109   Ȳº´½Ä
2007-01   4839   õÈñ½Â
2008-07   4496   ±èµ¿¼ö