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

±èÈñÁø   
   Á¶È¸ 7346   Ãßõ 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 5541/5686
2014-05   4979243   Á¤ÀºÁØ1
2015-12   1515338   ¹é¸Þ°¡
2004-07   7562   ÀÌ»ó±â
2006-03   5488   À̼º±Ù
2003-12   10513   º¯±âö
2003-07   10011   Á¶¹Î¿ì
2003-10   10798   ±è¿µ¼ö
2002-08   16885   Á¤±¤ÈÆ
2007-02   8753   ÀÓöÇõ
2005-01   7347   ±èÈñÁø
2003-09   11531   ±èº´Ã¶
2004-02   7984   °í´ëÁØ
2002-12   11706   ±èÅ°æ
2005-10   5486   ¼ÛÁøÈ£
2003-05   10084   ¼Õ¼ºÈ£
2003-12   11224   Á¤º´ÈÆ
2004-05   8304   ±è´ö±â
2004-01   8105   À̽ÂÇö
2004-12   6889   À庴µÎ
2004-03   8740   Á¤ÀçÈÆ
2002-11   12429   ±è¼ºÁØ
2003-01   11794   ¿ìµ¿ÈÆ