uformviewoptionsnextprev.pas
来自「支持版本:Delphi 5-2009, C++Builder 5-2009 A」· PAS 代码 · 共 50 行
PAS
50 行
unit UFormViewOptionsNextPrev;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TFormViewOptionsNextPrev = class(TForm)
Button1: TButton;
Button2: TButton;
GroupBox1: TGroupBox;
chkShowAll: TRadioButton;
chkShowCurrent: TRadioButton;
chkShowCustom: TRadioButton;
chkTypeText: TCheckBox;
chkTypeImages: TCheckBox;
chkTypeMedia: TCheckBox;
chkTypeWeb: TCheckBox;
procedure chkShowAllClick(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
implementation
{$R *.dfm}
procedure TFormViewOptionsNextPrev.chkShowAllClick(Sender: TObject);
var
en: boolean;
begin
en:= chkShowCustom.Checked;
chkTypeText.Enabled:= en;
chkTypeImages.Enabled:= en;
chkTypeMedia.Enabled:= en;
chkTypeWeb.Enabled:= en;
end;
procedure TFormViewOptionsNextPrev.FormShow(Sender: TObject);
begin
chkShowAllClick(Self);
end;
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?