繼承 QuickReport Pro 3.6 造成 Delphi 5當機 ...... |
尚未結案
|
allenshau
一般會員 發表:1 回覆:0 積分:0 註冊:2003-01-23 發送簡訊給我 |
Hi. 使用 QuickReport Pro 3.6 。
想在 QuickReport 加一個 些 新屬性,
採取 繼承 TQuickRep 的做法,
結果 光只是 空殼 元件 就會造成 Delphi 5 當機 是怎麼回事 ??? ======================
unit QuRptX; interface uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, quickrpt, Printers, IniFiles; type
TQuickRepX = class(TQuickRep)
private
{ Private declarations }
protected
{ Protected declarations }
public
{ Public declarations }
constructor Create(AOwner : TComponent); override;
destructor Destroy; override;
published
{ Published declarations }
end; procedure Register; implementation procedure Register;
begin
RegisterComponents('XXX', [TQuickRepX]);
end; constructor TQuickRepX.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
end; destructor TQuickRepX.Destroy;
begin
inherited Destroy;
end; end.
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |