home *** CD-ROM | disk | FTP | other *** search
- unit Unit1;
- (***************************************************************************)
- (* *)
- (* ##### ##### ##### ##### ##### #### ###### ####### *)
- (* # # # # # # # # # # *)
- (* # # # # ### # #### # # ### # *)
- (* # # # # # # # # # # # *)
- (* ##### ##### ##### ##### ##### #### # # *)
- (* *)
- (***************************************************************************)
- {
- (c) 1995 Cogisoft
- This component is FREE distribution. Use it for your own utilization.
- But you can't sell an application, using this component, without the
- authorization of Cogisoft.
-
- COGISOFT,H⌠tel de MΘziΦres,19 rue Michel Le Comte,75003 PARIS,FRANCE
- Tel:(1)40-65-04-04, FAX:(1)42-72-27-87
-
- NO CODING !!!
- Jerome VOLLET, CompuServe : 100560,3342
- }
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, ExtCtrls, StdCtrls, Menus, Lingua, TabNotBk;
-
- type
- TForm1 = class(TForm)
- MainMenu1: TMainMenu;
- N1: TMenuItem;
- N2: TMenuItem;
- N3: TMenuItem;
- N4: TMenuItem;
- N5: TMenuItem;
- N6: TMenuItem;
- N7: TMenuItem;
- N8: TMenuItem;
- N9: TMenuItem;
- N10: TMenuItem;
- N11: TMenuItem;
- N12: TMenuItem;
- N13: TMenuItem;
- N14: TMenuItem;
- TabbedNotebook1: TTabbedNotebook;
- Panel1: TPanel;
- Button1: TButton;
- Statusbar: TPanel;
- Lingua1: TLingua;
- procedure Button1Click(Sender: TObject);
- procedure N14Click(Sender: TObject);
- procedure FormCreate(Sender: TObject);
- procedure N7Click(Sender: TObject);
- private
- { Private declarations }
- protected
- procedure ShowHint( Sender : TObject );
- public
- { Public declarations }
- end;
-
- var
- Form1: TForm1;
-
- implementation
-
- uses unit2;
-
- {$R *.DFM}
-
- procedure TForm1.Button1Click(Sender: TObject);
- begin
- with TCheckbox.Create( Self ) do
- begin
- Parent := Panel1;
- Left := 20;
- Top := 20;
- Width := 200;
- Caption := '##Checkbox2';
- end;
- end;
-
- procedure TForm1.N14Click(Sender: TObject);
- begin
- AboutBox.ShowModal;
- end;
-
- procedure TForm1.FormCreate(Sender: TObject);
- var
- i : Integer;
- begin
- Application.OnHint := ShowHint;
- for i:=0 to TabbedNotebook1.Pages.Count-1 do
- TabbedNotebook1.Pages[ i ] := Lingua1.GetWordWithCookie( TabbedNotebook1.Pages[ i ] );
- end;
-
- procedure TForm1.ShowHint(Sender: TObject);
- begin
- Statusbar.Caption := Application.Hint;
- end;
-
- procedure TForm1.N7Click(Sender: TObject);
- begin
- Close;
- end;
-
- end.
-