BUTTON的CAPTION属性怎么变成多行的呀??我本来想用#13来换行,可是不行。不知道怎么办了。请知道的帮个忙!
    button1.Caption:=edit1.Text+#13;
    button1.Caption:=button1.Caption+edit1.Text+#13;
    button1.Caption:=button1.Caption +edit3.Text ;

解决方案 »

  1.   

    button1.Caption:=edit1.Text+#13+#10;
        button1.Caption:=button1.Caption+edit1.Text+#13+#10;
        button1.Caption:=button1.Caption +edit3.Text ;
      

  2.   

    不行啊。BUTTON上显示不了三行的啊!!
      

  3.   

    我要实现:按钮上分列三行文本,然后点击按钮,在一个MEMO上分别显示三行的文本。
      

  4.   

    不清楚呀,speedbutton 和button都是从control继承的caption属性,但是speedbutton可以, button不可以。
      

  5.   

    caption的编辑框中Ctrl+Enter换行,,再把WordWrap:=true
      

  6.   

    用WordWrap, 再在代码里用#13#10分割,还有Button要够宽免得在不需要的地方换行.