📄 uslideshow.pas
字号:
unit uslideshow;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
VrControls, VrSystem, VrSlideShow, VrButtons;
type
TForm1 = class(TForm)
VrSlideShow1: TVrSlideShow;
VrBitmapList1: TVrBitmapList;
VrHyperButton1: TVrHyperButton;
VrHyperButton2: TVrHyperButton;
procedure VrSlideShow1NextSlide(Sender: TObject);
procedure VrHyperButton1Click(Sender: TObject);
procedure VrHyperButton2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.VrSlideShow1NextSlide(Sender: TObject);
begin
VrSlideShow1.Transition := TVrTransitionEffect(Random(19)+1);
end;
procedure TForm1.VrHyperButton1Click(Sender: TObject);
begin
VrSlideShow1.Active := True;
VrHyperButton1.Enabled := false;
end;
procedure TForm1.VrHyperButton2Click(Sender: TObject);
begin
Application.Terminate;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -