home *** CD-ROM | disk | FTP | other *** search
- unit Fileview;
-
- interface
-
- uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
- StdCtrls, ExtCtrls;
-
- type
- TViewDLG = class(TForm)
- OKBtn: TBitBtn;
- CancelBtn: TBitBtn;
- Bevel1: TBevel;
- Label1: TLabel;
- FileName: TEdit;
- GroupBox1: TGroupBox;
- rbASCII: TRadioButton;
- rbBINARY: TRadioButton;
- rbEBCDIC: TRadioButton;
- procedure FormCreate(Sender: TObject);
- procedure FormShow(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- ViewDLG: TViewDLG;
-
- implementation
-
- {$R *.DFM}
-
- procedure TViewDLG.FormCreate(Sender: TObject);
- begin
- rbASCII.Checked := True;
- end;
-
- procedure TViewDLG.FormShow(Sender: TObject);
- begin
- FileName.SetFocus;
- end;
-
- end.
-