Learn how to a build a cloud-first strategyRegister Now



Posted on 2012-09-17
Medium Priority
Last Modified: 2012-10-23
I have a delphi project with version
there is a main form and a command button ( Button1).
On click of button1 a form lets say form1 opens where i have few fields.

Now i need to add another form lets say form2, so on click of button1 now form2 shall open and from form2 form1 shall open.
There are some changes in form1 as well.

So i shall need to release another version

But client needs some flexibility to switch on/off on versions by which they can work on version 1 and 2 as well on need basis.

How to give this kind of options?

Kindly Response with code example.
Question by:AbhiJeet
1 Comment
LVL 28

Accepted Solution

Sinisa Vuk earned 1500 total points
ID: 38407211
You can set version option somewhere in .ini file or database. At application startup get this option and check it. If is ver1 then on menuitem (or button click) start form1 (older type) or if it is ver2 then call form2 (similar (duplicate) to old form1 but with changes) which can call then form3,...

if  OptionVer = 1 then
if  OptionVer >= 2 then

Open in new window


... or you can create plugin like application (each dll - new functionality)...

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month20 days, 15 hours left to enroll

810 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