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

±èÈñÁø   
   Á¶È¸ 7341   Ãßõ 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   4964607   Á¤ÀºÁØ1
2015-12   1501060   ¹é¸Þ°¡
2003-06   9995   ±è±Ù¿µ
2012-03   9996   ±è°Ç¿ì
2003-12   9996   ÀÌ°ü¿õ
2013-10   9996   ´ëµÎ°­¾ÆÁö
2003-10   9996   ÀÌ»ó¿ë
2003-06   9996   ½É±Ô»ó
2003-12   9996   ±è±â¹ü(dc3v)
2014-10   9997   ´ëÇѹα¹
2003-11   9998   À̽±¸
2003-11   9998   ¿ø³«¿¬
2003-09   9998   ¹®Ãß±â
2003-11   9998   ½ÅÀǽÄ
2003-11   9999   Á¤È¸Á¤
2014-10   9999   Åõ·¯ºê
2017-03   9999   ¹Ý¼º¸¸
2003-11   9999   ±èÈ¿¼ö
2014-12   9999   VSPress
2003-02   9999   Çã½Â¹«
2006-05   10000   Ÿ¿ì¸°
2003-12   10000   ±èÅÂÈÆ