home *** CD-ROM | disk | FTP | other *** search
- unit USize;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- Tempunit, ComCtrls, StdCtrls, Buttons, OleCtrls, CELLLib_TLB, ExtCtrls;
-
- type
- TFSize = class(TTemplate)
- CheckBox1: TCheckBox;
- CheckBox2: TCheckBox;
- procedure CheckBox1Click(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- FSize: TFSize;
-
- implementation
-
- {$R *.DFM}
-
- procedure TFSize.CheckBox1Click(Sender: TObject);
- begin
- inherited;
- if CheckBox1.Checked = true then
- Cell1.AllowSizeCell:=true else
- Cell1.AllowSizeCell:=false;
- end;
-
- end.
-