Wrong sequence of events of TWizardManager
GoogleCodeExporter opened this issue · 3 comments
GoogleCodeExporter commented
Maybe I'm wrong, but the correct sequence of events of TWizardManager must be
PageHide (if a page has been loaded) -> PageLoad -> PageShow
instead of
PageLoad -> PageShow -> PageHide (if a page has been loaded).
I think that this sequence is wrong, because if a page settings affects the
following pages, the next pages never will get the updated settings of the
previous page.
Changing the sequence to:
PageHide (if a page has been loaded) -> PageLoad -> PageShow
The current page stores your current configuration, so the following pages will
get the new settings on pageLoad and PageShow.
What steps will reproduce the problem?
Setup a TWizardManager and some pages and put showMessages on events
OnPageShow, onPageHide and onPageLoad of the WizardManager and see the
execution sequence.
What is the expected output? What do you see instead?
pageHide must be called before than PageLoad and PageShow events.
What version of the product are you using? On what operating system?
Using LuiPack from CodeTyphon 4.8, Linux 64bits
Original issue reported on code.google.com by papelhig...@gmail.com
on 13 Jun 2014 at 5:31
GoogleCodeExporter commented
A fix for that.
Original comment by papelhig...@gmail.com
on 13 Jun 2014 at 6:03
Attachments:
GoogleCodeExporter commented
Original comment by luizamer...@gmail.com
on 15 Jun 2014 at 1:03
- Changed state: Fixed
GoogleCodeExporter commented
Thanks!!!
Original comment by papelhig...@gmail.com
on 16 Jun 2014 at 3:47