代码如下:如果对了就给分啊!
unit Main;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, Menus, dxBar, dxBarExtItems,
ActnList;
type
TMainForm = class(TForm)
ActionList1: TActionList;
Action1: TAction;
Button1: TButton;
procedure Action1Execute(Sender: TObject);
end;
var
MainForm: TMainForm;
implementation
{$R *.DFM}
procedure TMainForm.Action1Execute(Sender: TObject);
begin
showmessage('AAAAAAAAAAA');
end;
end.
//Form
object MainForm: TMainForm
Left = 158
Top = 115
Width = 584
Height = 398
Caption = 'MainForm'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = True
PixelsPerInch = 96
TextHeight = 13
object Button1: TButton
Left = 120
Top = 104
Width = 75
Height = 25
Action = Action1
TabOrder = 0
end
object ActionList1: TActionList
Left = 456
Top = 48
object Action1: TAction
Caption = '&WWW'
ShortCut = 16467
OnExecute = Action1Execute
end
end
end