I am developing a Customization in Dexterity which consists of a functionality behaving like a wizard. I have thus created a Form having several Windows. I am trying to close and open each successive windows in the Wizard using the following code:
open window 'MySecondWindow' of form 'MainForm';
close window 'MyFisrtWindow' of form 'MainForm';
Meanwhile, when using these statements no windows are opened after executing the code.
Nevertheless, if I only include the first statement (i.e. open window 'MySecondWindow' of form 'MainForm';), the Second window does open, but the First window obviously remains opened.
I have also tried to hide the First window by using hide window 'MyFisrtWindow', but this also does not work (the window remains opened).
1. From which event of main form you are running this code?
2. Your all windows are of same Form or different forms?
Thank you for your reply. Meanwhile, please note that I have found the root cause of my issue. I am new to Dexterity Development, and thus did not understand well some of its design.
Thank you again.
that's nice. :)