-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUFormViewOptionsNextPrev.pas
49 lines (41 loc) · 1 KB
/
UFormViewOptionsNextPrev.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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.