How to create my own Wizard

1. Design the Wizard

This task consist to build up the list of needed steps in order to achieve the goal of the wizard.
You should also consider what information you will need and how you will collation it.
At the end of the process, you should have a clear view of the purpose of each step and how they will interact with each other.

2. Set up you building blocks

First of all, create your own wizard window by inherit it from the w_wizard base window. Add everything you will need like instances variables, events and/of functions.
Do the same to create your own base step that inherit from u_wizard_step. For example, if you plan to use a datawindow control to interact with the user, add it at this level.

3. Create the needed steps

For each step identified during the design phase, create a descendant of your own base step's ancestor and add what it specifically need.

4. Implement the solution

In the ue_initialize event of your own base Wizard Window, call the of_addstep to load needed steps. Then display the first step using the ue_showstep event.
Add code also in the following events:
Wizard Library | How to create my own Wizard

Last edited Jul 14, 2015 at 11:37 AM by domangep, version 3