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

±èÈñÁø   
   Á¶È¸ 7345   Ãßõ 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
2014-05   4978371   Á¤ÀºÁØ1
2015-12   1514489   ¹é¸Þ°¡
2008-06   4622   ±èÁÖ¾È
2003-12   9941   À̼ö¹Î
2006-10   5173   ÀÌ°üÈ£
2006-10   4771   ÀÌ»ó¿­
2007-09   4907   ÀÌÇöö
2008-01   5612   ±è¸»¼ö
2007-01   4418   Á¤µµ¿µ
2003-03   11123   À±¿µ¼±
2006-09   4337   Á¤ÀºÁØ
2004-12   6703   °­´ë¼·
2008-08   4931   ±è´ë¿ø
2006-01   5211   ÀÓ¿µ¼ö
2006-01   7396   ¹Ú±âµÎ
2003-07   11877   ¹Úµ¿¼·
2002-12   12086   ¼Û¼®±Ù
2006-01   5443   ±èÇöµ¿
2007-10   4852   À±È£¿ë
2006-08   5349   À±Á¾¿Ï
2004-07   7647   ±èÀç½Ä
2007-06   4175   ±èÇÑ°á