Hello,
I want to create a button which closes opened screen and opens other screen by one click. What function I should use?
Dario
Hello,
I want to create a button which closes opened screen and opens other screen by one click. What function I should use?
Dario
Last edited by antonbrandauer : 14th November 2012 at 08:15
Hello Dario,
there are various ways for realizing this.
First of all, if both screens sue the same Frame, thereŽs no need to close the screen. It will be closed automatically.
If they use different frames you could create a script with two functions - close screen and switch to screen. The button would then have to execute the script.
Another way would be to add the close screen function to the start function of the other screen (youŽll find this in the screenŽs properties). With this solution the button could just execute the screenswitch function.
hope this helps,
cheers,
Alex
Hi Dario,
You can create a script. Scripts are used to execute several functions. Link a function which executes a script to a button and you can start several functions with one click.
Best regards,
Anton
Thanks a lot. It works great with a script.
Dario