Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wizard Design
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00910173
Message ID:
00910254
Vues:
26
In one page ask for the type, and on the next display a textbox for "single" or an editbox for "multiple".
Explain that the user must enter one caption per line.
You can easily remove blank lines and count the number of lines.

All you need to track is the type and a string (with or without chr(13) in it).

HTH :)


>I am designing a wizard, and I need advice.
>
>There are 2 initial options:
>
>"Create a Multiple Choice item"
>"Create a Yes/No item"
>
>This allows the use to create an option group or check box.
>The problem is that there are a bunch of possible ways the wiz
>can work.
>
>After selecting "Multiple Choice", the wiz also needs to prompt
>for # of choices, then for captions for each choice.
>
>A Yes/No simply needs a Caption.
>
>Both options require a name.
>
>So what I need to know is how to keep track of and/or determine what page
>to move to from any point in the wiz.
>
>What I have is sorta working, but it's getting ugly and I need to rethink
>my approach.
>
>I have a NextClicked() function that is called after the Next button is clicked
>but before the new page becomes active, which in turn handles loading data or
>setting up controls for the new page. The last step is determining if the Next
>should then enabled or disabled in a function called AllowNext().
>
>The Back button setys the ActivePage back by one and calls the AllowNext() function.
>
>I have been trying to manage the sequence of pages accessed in an array, and then
>traversing the array to re-display pages, but like I said, it's getting ugly.
>
>I'm wide open to suggestion.
>
>TIA
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform