Solved

Wizard

Posted on 2000-05-11
11
251 Views
Last Modified: 2012-05-04
I want to create a program that when executed, behaves like the Windows "Wizard" people are now familiar with.

As an example, look at the Control Panel  |  Add New Hardware utility.  I want my program to look and behave like this one.

What I need advice on is...how do I use the same area on the form to display different things during each step of the process?  If I just drop the components on the form, pretty soon it will get so cluttered I won't be able to see what I am doing.

What is the best way to approach this type of programming?

Thank you,

Tom
0
Comment
Question by:knowlton
  • 3
  • 3
  • 2
  • +3
11 Comments
 
LVL 17

Expert Comment

by:inthe
ID: 2802551
hi tom,
you could use the visible properties of the components.
visible := true/false ..
either on their own or collectively on a panel or tabsheet etc..
0
 
LVL 1

Accepted Solution

by:
saulite earned 100 total points
ID: 2802613
You must use TPageContron (in Win32 palette). Simply design the tabsheets and then set TabSheetX.TabVisible property to FALSE for every TabSheet. The button 'Next ->>' must change PageControl.ActivePage property to next TabSheet. That's all.
0
 
LVL 17

Expert Comment

by:inthe
ID: 2802636
mmm...
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 2803315
ts, ts, ts
listening . . .
0
 
LVL 4

Expert Comment

by:Radler
ID: 2804391
Promisses...
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 5

Author Comment

by:knowlton
ID: 2804765
I'll buy that!

Thank you!
0
 
LVL 17

Expert Comment

by:inthe
ID: 2805675
guess i missed something ..
0
 
LVL 5

Author Comment

by:knowlton
ID: 2805738
inthe:

Oooops.

Geez, sorry about that, inthe!

Tom
0
 

Expert Comment

by:cyndiho
ID: 3293870
According to Saulite's suggestion, you can design a wizard form with PageControl. But how to make your own wizard behave the same as menu bar?  You can new a package and add your own pas file in it. Plus you need one more pas file to compile successfully. Reference to Demos/ToolsAPI/ActionServices, and you will see.
While compiling, Delphi will add some files to make your package more completely.
After all, you install the package and you will find your wizard under 'Help'.
Try it!!!
0
 

Expert Comment

by:cyndiho
ID: 3295896
You also can use Notebook control in win3.1.  In pages property.you can add/delete/edit or move up/move down your pages. I used it to make my own wizard. it's very useful for me. FYI!
0
 
LVL 5

Author Comment

by:knowlton
ID: 3301395
Thanks, cyndiho.

Tom
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now