Solved

Create (AOwner: TComponent);

Posted on 1998-10-06
4
975 Views
Last Modified: 2006-11-17
When I perform a

form[i] = form.create(self);
form[i].visible := true;

It will pop an additional form for me.
However, if I say

button[i] := TButton.Create(Self); or
button[i] := TButton.Create(Form1);
button[i].visible := true;

No button will appear.

How come?
and how do I get it to appear?
0
Comment
Question by:binkzz
  • 3
4 Comments
 
LVL 10

Accepted Solution

by:
viktornet earned 100 total points
ID: 1342093
You need to set its parent like so.....

button[i] := TButton.Create(Self);
button[i].Parent := Form1;
button[i].visible := true;

Regards,
Viktor Ivanov
0
 
LVL 4

Author Comment

by:binkzz
ID: 1342094
(Edited by Computer101) you that's quick..

Here's your A plus an additional 50 points for speed.

Binkzz
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1342095
ThankZ ;->

Vik
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1342096
ThanZ ;->

Vik
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

773 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