for x=0 to 100
  picture1.print x
next
这个循环语句,打印在picture中的x是纵向排列的,怎么使所有的x横向排列?谢谢

解决方案 »

  1.   

    设置下一次打印或绘图方法的 水平 (CurrentX) 或垂直 (CurrentY) 坐标
      
    *****************************************************************************
    欢迎使用CSDN论坛阅读器 : CSDN Reader(附全部源代码) 
    http://www.cnblogs.com/feiyun0112/archive/2006/09/20/509783.html
      

  2.   

    for x=0 to 100
      picture1.print x;
    next
      

  3.   

    谢谢,可让它自动显示呢:picture控件没有这么宽,则显示不完全,怎么让它显示完全呢?再次谢谢
      

  4.   

    for x=0 to 100
      picture1.print x;
      if x mod 10=1 then picture1.print '每行10项
    next
      

  5.   

    最简单啊的方法是for x=0 to 100
      picture1.print x
    next改成for x=0 to 100
      picture1.print x;
    next即直接在print x后加一个分号