Last change
on this file since 16 was 8, checked in by alloc, 18 years ago |
Uploaded old revs and structdefs.
|
File size:
938 bytes
|
Rev | Line | |
---|
[8] | 1 | UNIT Unit8_binedit;
|
---|
| 2 | INTERFACE
|
---|
| 3 | USES
|
---|
| 4 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
---|
| 5 | Dialogs, Grids, Wrapgrid, StdCtrls;
|
---|
| 6 |
|
---|
| 7 | TYPE
|
---|
| 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 |
|
---|
| 17 | VAR
|
---|
| 18 | Form8: TForm8;
|
---|
| 19 |
|
---|
| 20 | IMPLEMENTATION
|
---|
| 21 | {$R *.dfm}
|
---|
| 22 |
|
---|
| 23 | PROCEDURE 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 |
|
---|
| 38 | PROCEDURE TForm8.FormCloseQuery(Sender: TObject; var CanClose: Boolean);
|
---|
| 39 | BEGIN
|
---|
| 40 | CanClose:=False;
|
---|
| 41 | Form8.Visible:=False;
|
---|
| 42 | END;
|
---|
| 43 |
|
---|
| 44 | END.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.