unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons;
type
TForm1 = class(TForm)
SpeedButton1: TSpeedButton;
procedure SpeedButton1DblClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.SpeedButton1DblClick(Sender: TObject);
begin
showmessage('naniade!');
end;
end.
源码就是这样,没有做任何改动,就在窗口上放了个tspeedbutton,,但是我去设置它的down属性的时候不能设置成true