Solved

transform a form with components in a component

Posted on 2001-06-12
8
223 Views
Last Modified: 2010-04-06
Hello

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

thanks

dan
0
Comment
Question by:daniel72
8 Comments
 
LVL 8

Expert Comment

by:Cesario
ID: 6180535
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
 
LVL 2

Accepted Solution

by:
danysz earned 150 total points
ID: 6180574
hi

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

daniel
0
 
LVL 8

Expert Comment

by:Cesario
ID: 6180727
danysz,

I agree with you ;-)

The Idea with Transsion effect is very nice.

Cesario
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 8

Expert Comment

by:Cesario
ID: 6180777
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
 
LVL 1

Expert Comment

by:bnemmers
ID: 6182669
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
 

Author Comment

by:daniel72
ID: 6184407
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
 
LVL 8

Expert Comment

by:Cesario
ID: 6185030
Hi Daniel75,

What about my comment ?

Cesario
0
 

Author Comment

by:daniel72
ID: 6185154
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

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question