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

±èÈñÁø   
   Á¶È¸ 7357   Ãßõ 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 5053/5688
2014-05   5005025   Á¤ÀºÁØ1
2015-12   1540775   ¹é¸Þ°¡
2005-01   6865   ±è°Ç¿ì
2005-01   7008   ÃÖ¿ø½Ä
2005-01   6536   ±è´ö±â
2005-01   7258   ÃÖ¿î±æ
2005-01   7159   À̱æÁÖ
2005-01   6427   °­¹Î¼ö
2005-01   6883   ¼ÕÀçÈÆ
2005-01   7060   ³²°æ¸²
2005-01   6854   ¹Ú¿ë
2005-01   6638   À±Ä¡¿­
2005-01   6938   ÀÌ»ó·æ
2005-01   6136   ±èÀçÈÆ
2005-01   7257   ±èÈñÁø
2005-01   6678   ÃÖÁ¤¼ö
2005-01   7358   ±èÈñÁø
2005-01   6871   ±è°Ç¿ì
2005-01   11339   ±èÈñÁø
2005-01   6778   Â÷Àç±Ù
2005-01   6894   ÀÌÅÂÈñ
2005-01   7181   ±èÈñÁø