Post by DanielHello,
thank you for your answer.
Your question implies offerring to the user a sequence of frames,
from which one can digress to other operations, with which the user
will accomplish some action.
That's what I want. Until now, I have a lot of frames, which are
shown one after another. The values, the user put in, are stored
after every frame in a local variable structure. The User can stop
to go through the frames and save his input he made and load it
when ever he wants again.
First I thought the solution with the frames willl be the best, but
then I saw the wxWizard class and tried to use it.
Best regards
Daniel
That's an unusual approach. Is the data collection so lengthy that
the user should be encouraged
to be able to stop and restart it?
If saving and restarting in the middle are the only extra actions you
want to allow, you could get there by subclassing wxWizard and
wxWizardPage to provide an extra button which saves the wizard state
so that it can be resumed later.
You can allow users to digress from dialog box (and wizard) tasks by
using Show instead of ShowModal. That allows the user to return to
the parent frame and select a different task. Be careful with this:
You have to allow for the user selecting the same button s/he did
before, which (depending on what you do in such a case) could produce
reentrance problems.
Regards,
John Ralls
---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-***@lists.wxwidgets.org
For additional commands, e-mail: wx-users-***@lists.wxwidgets.org