unit unitqq;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, Buttons, jpeg, ExtCtrls;
type
TFormqq = class(TForm)
Image1: TImage;
SpeedButton1: TSpeedButton;
SpeedButton2: TSpeedButton;
SpeedButton3: TSpeedButton;
SpeedButtonhy: TSpeedButton;
SpeedButtonts: TSpeedButton;
SpeedButtonmsr: TSpeedButton;
SpeedButtonhmd: TSpeedButton;
SpeedButton8: TSpeedButton;
SpeedButton9: TSpeedButton;
SpeedButtonskins: TSpeedButton;
SpeedButton11: TSpeedButton;
PopupMenu1: TPopupMenu;
skin11: TMenuItem;
skin21: TMenuItem;
skin31: TMenuItem;
procedure SpeedButtonhyClick(Sender: TObject);
procedure SpeedButtontsClick(Sender: TObject);
procedure SpeedButtonmsrClick(Sender: TObject);
procedure SpeedButtonhmdClick(Sender: TObject);
procedure FormClose(Sender: TObject;
var Action: TCloseAction);
procedure SpeedButton9Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Formqq: TFormqq;
implementation
uses unitmain;
{$R *.dfm}
procedure TFormqq.SpeedButtonhyClick(Sender: TObject);
begin
speedbuttonhmd.Top:=speedbuttonskins.Top-24;
speedbuttonmsr.Top:=speedbuttonhmd.Top-24;
speedbuttonts.Top:=speedbuttonmsr.Top-24;
end;
procedure TFormqq.SpeedButtontsClick(Sender: TObject);
begin
if speedbuttonts.top=speedbuttonhy.top+24 then
begin
speedbuttonhmd.Top:=speedbuttonskins.Top-24;
speedbuttonmsr.Top:=speedbuttonhmd.Top-24;
end
else
if speedbuttonts.top=speedbuttonskins.Top-72 then
begin
speedbuttonts.Top:=speedbuttonhy.top+24;
end;
end;
procedure TFormqq.SpeedButtonmsrClick(Sender: TObject);
begin
if speedbuttonmsr.top=speedbuttonhy.top+48 then
speedbuttonhmd.Top:=speedbuttonskins.Top-24
else
if speedbuttonmsr.top=speedbuttonskins.top-48
then
begin
speedbuttonts.Top:=speedbuttonhy.top+24;
speedbuttonmsr.Top:=speedbuttonts.top+24;
end;
end;
procedure TFormqq.SpeedButtonhmdClick(Sender: TObject);
begin
if speedbuttonhmd.top=speedbuttonskins.Top-24 then
begin
speedbuttonts.Top:=speedbuttonhy.top+24;
speedbuttonmsr.Top:=speedbuttonts.top+24;
speedbuttonhmd.Top:=speedbuttonmsr.top+24;
end;
end;
procedure TFormqq.FormClose(Sender: TObject;
var Action: TCloseAction);
begin
formmain.ToolButtoncxxx.enabled:=true;
formmain.memoscreem.enabled:=true;
action:=cafree;
end;
procedure TFormqq.SpeedButton9Click(Sender: TObject);
begin
if formqq.top=-279 then
formqq.top:=8
else
formqq.top:= -279;
end;
end.