首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

TSpeedButton 怎么让Caption内容以 竖形文字 形式显示

2012-02-04 
TSpeedButton如何让Caption内容以竖形文字形式显示求教![解决办法]自己代码控制Delphi(Pascal) codeSpeedB

TSpeedButton 如何让Caption内容以 竖形文字 形式显示
求教!

[解决办法]
自己代码控制

Delphi(Pascal) code
SpeedButton1.Caption := 'a'+#13+'b';
[解决办法]
Delphi(Pascal) code
unit Unit1;interfaceuses  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,  Dialogs, Buttons;type  TForm1 = class(TForm)    SpeedButton1: TSpeedButton;    procedure FormCreate(Sender: TObject);  private    { Private declarations }  public    { Public declarations }  end;var  Form1: TForm1;implementation{$R *.dfm}procedure TForm1.FormCreate(Sender: TObject);begin  SpeedButton1.Caption:='測'+#13+'試'+#13+'程'+#13+'序';end;end. 

热点排行