2008-10-31 21:18:20 +00:00
|
|
|
(* ***** BEGIN LICENSE BLOCK *****
|
|
|
|
* Version: MPL 1.1
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
* the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/MPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* License.
|
|
|
|
*
|
|
|
|
* The Original Code is TurboPower OnGuard
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is
|
|
|
|
* TurboPower Software
|
|
|
|
*
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 1996-2002
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
*
|
|
|
|
* Andrew Haines andrew@haines.name {AH.01}
|
|
|
|
* conversion to CLX {AH.01}
|
|
|
|
* December 30, 2003 {AH.01}
|
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** *)
|
|
|
|
{*********************************************************}
|
|
|
|
{* OGABOUT0.PAS 1.13 *}
|
|
|
|
{* Copyright (c) 1997-00 TurboPower Software Co *}
|
|
|
|
{* All rights reserved. *}
|
|
|
|
{*********************************************************}
|
|
|
|
|
|
|
|
{$I ONGUARD.INC}
|
|
|
|
|
|
|
|
|
2023-02-20 12:02:30 +00:00
|
|
|
unit qogabout0;
|
2008-10-31 21:18:20 +00:00
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
uses
|
2023-02-20 12:02:30 +00:00
|
|
|
LCLIntf, SysUtils, Classes, Graphics, Buttons, Forms, StdCtrls, ExtCtrls,
|
2023-02-19 22:05:46 +00:00
|
|
|
ogutil;
|
2008-10-31 21:18:20 +00:00
|
|
|
|
|
|
|
type
|
2009-07-28 13:17:46 +00:00
|
|
|
|
|
|
|
{ TOgAboutForm }
|
|
|
|
|
2008-10-31 21:18:20 +00:00
|
|
|
TOgAboutForm = class(TForm)
|
2009-07-28 13:17:46 +00:00
|
|
|
l8: TLabel;
|
2008-10-31 21:18:20 +00:00
|
|
|
Panel1: TPanel;
|
|
|
|
Image1: TImage;
|
|
|
|
lblVersion: TLabel;
|
2009-07-28 13:17:46 +00:00
|
|
|
b0 : TBevel;
|
|
|
|
l1 : TLabel;
|
|
|
|
l2 : TLabel;
|
|
|
|
l3 : TLabel;
|
|
|
|
l4 : TLabel;
|
|
|
|
l5 : TLabel;
|
|
|
|
l6 : TLabel;
|
|
|
|
l7 : TLabel;
|
2008-10-31 21:18:20 +00:00
|
|
|
btnOK: TButton;
|
|
|
|
WebLbl: TLabel;
|
|
|
|
NewsLbl: TLabel;
|
2009-07-28 13:17:46 +00:00
|
|
|
WebLbl1: TLabel;
|
2008-10-31 21:18:20 +00:00
|
|
|
procedure btnOKClick(Sender: TObject);
|
|
|
|
procedure FormCreate(Sender: TObject);
|
2009-07-28 13:17:46 +00:00
|
|
|
procedure WebLbl1Click(Sender: TObject);
|
2023-02-20 12:02:30 +00:00
|
|
|
procedure WebLbl1MouseMove(Sender: TObject; {%H-}Shift: TShiftState; {%H-}X, {%H-}Y: Integer);
|
|
|
|
procedure WebLblMouseMove(Sender: TObject; {%H-}Shift: TShiftState; {%H-}X, {%H-}Y: Integer);
|
|
|
|
procedure NewsLblMouseMove(Sender: TObject; {%H-}Shift: TShiftState; {%H-}X, {%H-}Y: Integer);
|
|
|
|
procedure Panel2MouseMove(Sender: TObject; {%H-}Shift: TShiftState; {%H-}X, {%H-}Y: Integer);
|
|
|
|
procedure FormMouseMove(Sender: TObject; {%H-}Shift: TShiftState; {%H-}X, {%H-}Y: Integer);
|
2008-10-31 21:18:20 +00:00
|
|
|
procedure WebLblClick(Sender: TObject);
|
|
|
|
procedure NewsLblClick(Sender: TObject);
|
|
|
|
private
|
|
|
|
{ Private declarations }
|
|
|
|
public
|
|
|
|
{ Public declarations }
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
|
|
implementation
|
2023-02-19 21:52:50 +00:00
|
|
|
|
2023-02-20 12:02:30 +00:00
|
|
|
{$R *.lfm}
|
2008-10-31 21:18:20 +00:00
|
|
|
|
2023-02-19 22:05:46 +00:00
|
|
|
{*** TOgAboutForm ***}
|
2008-10-31 21:18:20 +00:00
|
|
|
|
|
|
|
procedure TOgAboutForm.btnOKClick(Sender: TObject);
|
|
|
|
begin
|
|
|
|
Close;
|
|
|
|
end;
|
|
|
|
|
|
|
|
procedure TOgAboutForm.FormCreate(Sender: TObject);
|
|
|
|
begin
|
|
|
|
lblVersion.Caption := 'Version ' + OgVersionStr;
|
|
|
|
end;
|
|
|
|
|
2009-07-28 13:17:46 +00:00
|
|
|
procedure TOgAboutForm.WebLbl1Click(Sender: TObject);
|
|
|
|
begin
|
2023-02-19 21:52:50 +00:00
|
|
|
OpenURL('http://wiki.lazarus.freepascal.org/OnGuard');
|
2009-07-28 13:17:46 +00:00
|
|
|
WebLbl.Font.Color := clNavy;
|
|
|
|
end;
|
|
|
|
|
|
|
|
procedure TOgAboutForm.WebLbl1MouseMove(Sender: TObject; Shift: TShiftState; X,
|
|
|
|
Y: Integer);
|
|
|
|
begin
|
2023-02-19 21:52:50 +00:00
|
|
|
WebLbl1.Font.Color := clRed;
|
2009-07-28 13:17:46 +00:00
|
|
|
end;
|
|
|
|
|
2008-10-31 21:18:20 +00:00
|
|
|
procedure TOgAboutForm.WebLblMouseMove(Sender: TObject; Shift: TShiftState;
|
|
|
|
X, Y: Integer);
|
|
|
|
begin
|
|
|
|
WebLbl.Font.Color := clRed;
|
|
|
|
end;
|
|
|
|
|
|
|
|
procedure TOgAboutForm.NewsLblMouseMove(Sender: TObject;
|
|
|
|
Shift: TShiftState; X, Y: Integer);
|
|
|
|
begin
|
|
|
|
NewsLbl.Font.Color := clRed;
|
|
|
|
end;
|
|
|
|
|
|
|
|
procedure TOgAboutForm.Panel2MouseMove(Sender: TObject; Shift: TShiftState;
|
|
|
|
X, Y: Integer);
|
|
|
|
begin
|
|
|
|
NewsLbl.Font.Color := clNavy;
|
|
|
|
end;
|
|
|
|
|
|
|
|
procedure TOgAboutForm.FormMouseMove(Sender: TObject; Shift: TShiftState;
|
|
|
|
X, Y: Integer);
|
|
|
|
begin
|
|
|
|
WebLbl.Font.Color := clNavy;
|
|
|
|
NewsLbl.Font.Color := clNavy;
|
2009-07-28 13:17:46 +00:00
|
|
|
WebLbl1.Font.Color := clNavy;
|
2008-10-31 21:18:20 +00:00
|
|
|
end;
|
|
|
|
|
|
|
|
procedure TOgAboutForm.WebLblClick(Sender: TObject);
|
|
|
|
begin
|
2023-02-19 21:52:50 +00:00
|
|
|
OpenURL('http://sourceforge.net/projects/tponguard');
|
2008-10-31 21:18:20 +00:00
|
|
|
WebLbl.Font.Color := clNavy;
|
|
|
|
end;
|
|
|
|
|
|
|
|
procedure TOgAboutForm.NewsLblClick(Sender: TObject);
|
|
|
|
begin
|
2023-02-19 21:52:50 +00:00
|
|
|
OpenURL('https://sourceforge.net/forum/?group_id=71010');
|
2008-10-31 21:18:20 +00:00
|
|
|
NewsLbl.Font.Color := clNavy;
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
|
|
end.
|