Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I for example create new Edit boxes dynamicly

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I want to dynamicly create new Edit boxes, so i tried just to type Edit1=new TEdit;

that didn't seem to work though. so i wonder if anyone know what i should do
 
Greetings...

In BCB5e I do it like this:
TEdit *EditName;
EditName = new TEdit(this);
// and then you can add all attributes to the new TEdit
EditName->Parent = Form1; // or other
Editname->Width = 100;
// and so on... Martin G Broman
mgb_svea@thevortex.com

DWS - Alpha Whitin Dead Wolf Society
Xaner Software, DB programer
 
'Thanks' you can't put in the wallet. It the post was helpful, let 801119 know it with a special link. John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top