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

±èÈñÁø   
   Á¶È¸ 7343   Ãßõ 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 5051/5686
2015-12   1507580   ¹é¸Þ°¡
2014-05   4971294   Á¤ÀºÁØ1
2006-09   4333   Á¤ÀºÁØ
2004-12   6700   °­´ë¼·
2008-08   4929   ±è´ë¿ø
2006-01   5204   ÀÓ¿µ¼ö
2006-01   7395   ¹Ú±âµÎ
2003-07   11874   ¹Úµ¿¼·
2002-12   12082   ¼Û¼®±Ù
2006-01   5439   ±èÇöµ¿
2007-10   4848   À±È£¿ë
2006-08   5347   À±Á¾¿Ï
2004-07   7645   ±èÀç½Ä
2007-06   4173   ±èÇÑ°á
2008-05   5471   ¿ìÆǼ®
2005-09   5750   ÇÑ¿øÁØ
2005-08   5789   ÃÖ½ÂÇö
2003-05   10115   È«Á¾¿î
2007-03   4170   ¹Ú¼ºÈÆ
2003-02   10505   ¹Ú¿µÈñ
2006-03   5436   ±¸¸í¼­
2006-06   6124   ¼ÒÇöÁØ