WR960204:
谢谢您的回答。可是我按你说的改了:
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, jpeg, ExtCtrls, Grids,DesignIntf,DesignEditors;
type
TMyTest = class(TForm)
StringGrid1: TStringGrid;
private
{ Private declarations }
public
{ Public declarations }
end;
procedure register;
var
MyTest: TMyTest;
implementation
{$R *.dfm}
procedure register;
begin
//RegisterComponents('RxLib',[TMyTest]);
//RegisterClass(Tmytest);
RegisterCustomModule(TMyTest,TCustomModule);//Borland/Delphi6/Source/ToolsAPI
end;
end.
可是一调用ListBox1上还是空空的。Panel1上根本不能显示TMyTest窗体的内容。
不知是什么原因,请大哥帮帮忙。谢谢!