Solved

Wizard

Posted on 2000-05-11
11
257 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month7 days, 4 hours left to enroll

623 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