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

±èÈñÁø   
   Á¶È¸ 7511   Ãßõ 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 5090/5725
2014-05   5242315   Á¤ÀºÁØ1
2015-12   1767577   ¹é¸Þ°¡
2005-01   6985   ¹Ú¿ë
2005-01   6768   À±Ä¡¿­
2005-01   7098   ÀÌ»ó·æ
2005-01   6306   ±èÀçÈÆ
2005-01   7420   ±èÈñÁø
2005-01   6802   ÃÖÁ¤¼ö
2005-01   7512   ±èÈñÁø
2005-01   6991   ±è°Ç¿ì
2005-01   11486   ±èÈñÁø
2005-01   6924   Â÷Àç±Ù
2005-01   7019   ÀÌÅÂÈñ
2005-01   7329   ±èÈñÁø
2005-01   7554   ¼Û¹Ì¼±
2005-01   7391   °­¹Î¼ö
2005-01   6857   ÇϽÂÇù
2005-01   8100   ±èÈñÁø
2005-01   7082   ¿À±â·æ
2005-01   7823   ÇöÈñö
2005-01   6977   Çѵ¿ÈÆ
2005-01   6997   ÀÌ»ó¹é