source: oup/releases/0.15a/Unit8_binedit.pas@ 572

Last change on this file since 572 was 21, checked in by alloc, 18 years ago
File size: 938 bytes
Line 
1UNIT Unit8_binedit;
2INTERFACE
3USES
4 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
5 Dialogs, Grids, Wrapgrid, StdCtrls;
6
7TYPE
8 TForm8 = Class(TForm)
9 grid: TWrapGrid;
10 ListBox1: TListBox;
11 PROCEDURE FormCloseQuery(Sender: TObject; var CanClose: Boolean);
12 PROCEDURE FormCreate(Sender: TObject);
13 PRIVATE
14 PUBLIC
15 END;
16
17VAR
18 Form8: TForm8;
19
20IMPLEMENTATION
21{$R *.dfm}
22
23PROCEDURE TForm8.FormCreate(Sender: TObject);
24 BEGIN
25 grid.RowCount:=1;
26 grid.ColCount:=18;
27 grid.FixedCols:=1;
28 grid.FixedRows:=0;
29
30 grid.Cells[0,0]:='0x000000';
31 grid.ColWidths[0]:=80;
32 grid.ColWidths[17]:=140;
33 grid.Cells[1,0]:='00';
34 grid.Cells[2,0]:='FF';
35 grid.Cells[17,0]:='..##############';
36 END;
37
38PROCEDURE TForm8.FormCloseQuery(Sender: TObject; var CanClose: Boolean);
39 BEGIN
40 CanClose:=False;
41 Form8.Visible:=False;
42 END;
43
44END.
Note: See TracBrowser for help on using the repository browser.