Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8446537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:57:41+00:00 2026-06-10T09:57:41+00:00

In my application I need show a data in multiple forms that these forms

  • 0

In my application I need show a data in multiple forms that these forms exactly have same VCLs, events and procedures, because the amounts of these forms are depending on to my application, So I can’t create all of them in design-time.

Or How can I make a copy of a form multiple times in run-time?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T09:57:42+00:00Added an answer on June 10, 2026 at 9:57 am

    Assuming your form is declared as TForm2, you can easily create say 10 instances of it like this:

    var 
      myForms: TArray<TForm2>;
      I: Integer;
    begin
      SetLength(myForms, 10);
      for I:=0 to 9 do begin
        myForms[I] := TForm2.Create(Application);  // Application will free the forms on exit
        myForms[I].Show;
      end;
    end;
    

    If you don’t need to access the form instances you can omit the array completely and write:

    var 
      I: Integer;
    begin
      for I:=0 to 9 do begin
        TForm2.Create(Application).Show;  // Application will free the forms on exit
      end;
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While developing my WordPress application i have a requirement where i need to show
I have an application where a multiple shops will share the data. There is
I have a jsf 1.2 application where I need to show a page (jsp)
I have an application in which I need to show some dynamic bar graphs
I've to develop an Android application that needs to show data using a similar
I'm trying to modify a C# WinForms application that uses multiple forms. At startup,
In my application I need to show in template stocks for my products. So
In my iPhone application I need to show a video image in UITableView. Each
for a application I need to grab all DN's in a OU and show
I created a quiz application in J2ME, I need to show unicode arabic/italian/bangla to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.