Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a Wizard Interface for Users
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00238737
Message ID:
00239923
Views:
9
>I am in need of a "Wizard" interface for my apps.
>
>I have looked at the general ones that come in VFP, and other programs to get an idea of how the operate.
>
>I comme back with the idea that they are a single form class that has a single page and all controled by code.
>
>Has anyone done one and what were your methods and or experiences?

Sorry for the delay: I am just catching up after a heavy week.

All my base objects have a property to set an optional wizard number page. When an end user presses a "wizard" button (also this is a default of a base form) a dialog form is populated with references to the objects contained in the main form and the buttons at the bottom of the popup form are activated accordingly (first,next,prior,last,cancel,ok). All my data objects have also references to an associated label so that building the wizards at runtime is fairly easy.
The dialog form simply contains a pageframe without tabs or pages. Pages are added dinamically when the form is created.
Having all this is a simple matter of looping through all the controls in a form and adding the ones that have the wizard page property initialized to the right page. It looks very impressive and is fairly easy to implement.

HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform