Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a "Wizard-Type" App in Delphi

Status
Not open for further replies.

iperich

Programmer
Nov 17, 2005
2
US
Hi, I need to know how can I have a single window with "Next" and "Previous" buttons, have differents inputs like radiobuttons, checkboxes and text in every stage of the "wizard" and in the last stage process all the data in the "End" Button Click

Or something like that. I dont need to install anything, just transmit the data by tcp, and that part is ok.

Thanks....
 
I have used a page control, create a page for each page of your wizard, then hide all the tabs.
Back and Next buttons bring the next or last page to the front. using the page increment method, (cant remember the correct name)
The fun starts when you relise that some pages might be conditional on what is selected on a previous page, so it has to skip pages, but then you have to consider that the back button must remember where to go.
I build an array to 'remember' the page progression.



[red]Support the GNBM You know it makes sense[/red]
Steve: Delphi a feersum engin indeed.
 
I've also used a TPageControl with hidden tabs when building a wizard app.

Clive
Runner_1Revised.gif

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
I'm currently making one with TPageControl...

[bobafett] BobbaFet [bobafett]

Code:
if not Programming = 'Severe Migraine' then
                       ShowMessage('Eureka!');
faq102-5352
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top