Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Wizard

Posted on 2000-05-11
11
Medium Priority
?
263 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:Tom 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 400 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 27

Expert Comment

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

Expert Comment

by:Radler
ID: 2804391
Promisses...
0
 
LVL 5

Author Comment

by:Tom 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:Tom 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:Tom Knowlton
ID: 3301395
Thanks, cyndiho.

Tom
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Loops Section Overview
Suggested Courses

886 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