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

±èÈñÁø   
   Á¶È¸ 7342   Ãßõ 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/5685
2014-05   4967518   Á¤ÀºÁØ1
2015-12   1503896   ¹é¸Þ°¡
2005-01   7343   ±èÈñÁø
2005-01   6855   ±è°Ç¿ì
2005-01   11325   ±èÈñÁø
2005-01   6761   Â÷Àç±Ù
2005-01   6877   ÀÌÅÂÈñ
2005-01   7161   ±èÈñÁø
2005-01   7408   ¼Û¹Ì¼±
2005-01   7219   °­¹Î¼ö
2005-01   6720   ÇϽÂÇù
2005-01   7925   ±èÈñÁø
2005-01   6936   ¿À±â·æ
2005-01   7668   ÇöÈñö
2005-01   6829   Çѵ¿ÈÆ
2005-01   6863   ÀÌ»ó¹é
2005-01   6916   ¼ÕÀçÈÆ
2005-01   6940   Á¤ÈûÂù
2005-01   6560   äÀ±¼º
2005-01   6928   ±è°æ¿í
2005-01   7064   ÀÌÅÂÈñ
2005-01   6800   ÇöÈñö