Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a wizard
Message
De
01/02/2002 09:00:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00613936
Message ID:
00613942
Vues:
19
>I am trying to create a wizard with VFP 7.0
>I've seen a very good wizard in a comercial program, and I would like to create a similar wizard.
>
>Unfortunatly, I cannot get by the source code :)
>
>Here's how it works (basically):
>You have a form, with a pageframe on it. The pageframe is invisible.
>What happens is that all the object on a page are somehow copied to the form itself, preserving all attributes and methods...

OK, the way I did some wizards (tests, actually), is like this:

The pageframe isn't invisible, only the tabs are hidden.

Objects that appear only on one page are within the corresponding page.

Objects shared by more than one page (like the "Next" button) are OUTSIDE the PageFrame. For the user, they are visibly in the page, but to create them, you don't select the page first.

See what I mean?

There is no need to copy objects to and fro.

Of course, you can make objects invisible on specific pages. E.g., hide the "Next" button when you are on the last page.

Met hartelijke groeten, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform