'做一个程序,里面有两个文本框和一个按钮,当安下按钮时,则第二个文本框里面会出现8个( 第一个文本框里面的内容!!)该怎么写?

解决方案 »

  1.   

    for i = 1 to 8
        text2.text = text2.text & text1.text
    next i
      

  2.   

    text2.text=""
    for i=1 to 8
      text2.text=text2.text & trim(text1.text)
    next
      

  3.   

    回复人: goldwolfSoft(goldwolf) ( ) 信誉:100  2004-11-27 15:01:00  得分: 0  
     
     
       for i = 1 to 8
        text2.text = text2.text & text1.text
    next i
      
     他怎么知道 i=text1.text 呢?  怎么没写text1 也行啊?