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 9162323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:10:59+00:00 2026-06-17T14:10:59+00:00

I am currently designing a database interface in DELPHI 2010 , and I have

  • 0

I am currently designing a database interface in DELPHI 2010, and I have designed several form interfaces, all encapsulated in one Delphi project structure.
I began designing a particular interface form first, and, as a result, an irrelevant form first appears when I run the .exe file, whereas I want a menu form to appear when the program is loaded. My questions are:

  1. How can I get my menu form to open first when and .exe of my compiled project is run?
  2. What function do I need to use to program navigation buttons on this menu to open new forms up?
  3. What function should I use on the “Exit” buttons each of my forms to close the forms down individually, without closing the whole program?

I have good knowledge in Pascal, but I am new to programming object orientated solutions in this platform.

  • 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-17T14:11:01+00:00Added an answer on June 17, 2026 at 2:11 pm

    You should determine if you forms would be auto-created or created on demand.
    You should also decide which form would be main one.

    The corner question would be if you can have several open forms of the same class, for example if you made “File Viewer” form there may be sense to have several of them open for different files.

    For auto-created forms:

    1.1 Open project source (.dpr file, Project/View Source menu) or open Project options in Forms section. Set MenuForm the 1st (topmost) one in creation list.
    1.2 Check that all other forms have their .visible property false

    2: Depending on the logic of your program you should use Form1.Show or Form1.ShowModal

    3: Self.Close or Self.Hide or Self.Visible := false. Better 1st: http://docwiki.embarcadero.com/Libraries/XE2/en/Vcl.Forms.TCustomForm.Close
    If u use OnClose event of those forms – ensure you did not changed default caHide action for closing

    For manually lifetime controlled forms:

    1: Open project source (.dpr file, Project/View Source menu) or open Project options in Forms section. Set MenuForm the only one created.

    2.1. some-temporary-variable := TFormClass.Create(Application);
    2.2. Then you tweak some properties of some-temporary-variable like filename to open or some data source or whatever.
    2.3. Then you do some-temporary-variable.Show or some-temporary-variable.ShowModal.
    Beware: using ShowModal may freeze your application, in cases like TFormClass.Create(SomeAnotherForm), use Application for parent.

    3: Self.Release http://docwiki.embarcadero.com/Libraries/XE2/en/Vcl.Forms.TCustomForm.Release
    or Self.Close and specify caFree action in OnClose event – http://docwiki.embarcadero.com/Libraries/XE2/en/Vcl.Forms.TCustomForm.OnClose

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently in the process of designing a database. I have a table
I am designing a database schema for my project, where I seem to have
I'm currently designing a database for a project. Now I'm debating with myself whether
I am currently designing a Database for a Project of mine. The target is
I am currently designing a Membership/Profile scheme for a new project I am working
I'm currently designing a database that has a table events that will be insert
Currently I am designing a database for use in our company. We are using
I'm planing / designing my database for my current project (Java). For this project
I'm currently designing a database model and I've come across an issue, where I'd
I'm currently designing a database for my company's website. I would like to create

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.