Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

transform a form with components in a component

Hello

I have a form with components on it and I wish to transform it in to a componet.

thanks

dan
0
daniel72
Asked:
daniel72
1 Solution
 
CesarioCommented:
Hi daniel72,

// Put  a Form in a Panel
procedure TForm1.Button1Click(Sender: TObject);
begin
  Form2.top := 0;
  Form2.Left := 0;
  Form2.show;
  Form2.Parent := Panel1;
end;


Best Regards

Cesario
0
 
danyszCommented:
hi

a quite expansive solution but a real good one is
Transform Component Expert from www.obsof.com

daniel
0
 
CesarioCommented:
danysz,

I agree with you ;-)

The Idea with Transsion effect is very nice.

Cesario
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
CesarioCommented:
danysz do you have any idea how the copy the form into a Bitmap to make the transsion ?

With myBitmap := Form2.GetFormImage;

But if the Form is not vissible then
all WinControl doesnt appears.

0
 
bnemmersCommented:
Dan,

You don't say what version of Delphi you are using. If you are using version 5 then just create a frame. Frames can be placed onto the pallet; also if you are just trying to make this form reusable you could place it into the repository has well. There is one last choice but I wouldn't use this one unless all others fail. You could create a ActiveForm then install the ActiveX.

Bill
0
 
daniel72Author Commented:
Bill sorry yor answer it's ok but I'm using D4 C/S

and one more small think : usual everybody add comments and the person who put the question can promote your comment as an answer

daniel
0
 
CesarioCommented:
Hi Daniel75,

What about my comment ?

Cesario
0
 
daniel72Author Commented:
hi

Cesario : thanks for the idea but at the end I decide to use danysz solution. it's simple for simple things ...

anyway thanks to all of you

daniel
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now