falko Guest
|
Posted: Tue Nov 25, 2003 1:28 pm Post subject: how to install frames on the component palette |
|
|
Hi,
hope someone can help me. My problem is:
i'm working with a lot of frames and a lot of projects in D7.
to view my forms correctly (i.e. see the frames on it) the frames have to be
registered in the project file (.dpr file).
so if i build a new frame i have to register it in all my projects.
i thought if i can register all my frames in a package so that the frames
show on the component palette would be a solution.
but it doesn't work.
who can tell me, how to install frames on the component palette
my example:
unit frame_Test;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TFrametest = class(TFrame)
Button1: TButton;
Edit1: TEdit;
procedure Button1Click(Sender: TObject);
private
public
end;
procedure register;
implementation
uses
designintf,designeditors;
{$R *.dfm}
....
procedure register;
begin
registercomponents( 'test', [TFrametest]);
end;
end.
thanx to all the helpful people on the group
falko
|
|