Showing results 1 to 4 of 4

Thread: Close one screen, opens other screen

  1. #1

    Default Close one screen, opens other screen

    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

  2. #2
    Join Date
    27.06.2011
    Posts
    96

    Default AW: Close one screen, opens other screen

    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

  3. #3
    Join Date
    02.07.2010
    Posts
    13

    Default Re: Close one screen, opens other screen

    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

  4. #4

    Default Re: AW: Close one screen, opens other screen

    Thanks a lot. It works great with a script.

    Dario

Similar Threads

  1. C# form on screen
    By brc in forum VSTA
    Replies: 7
    Last Post: 4th July 2014, 11:58
  2. Multi-screen display
    By xaviluci in forum zenon Supervisor
    Replies: 6
    Last Post: 16th January 2013, 11:12
  3. Screen resolution
    By stephanepilon in forum zenon Supervisor
    Replies: 6
    Last Post: 16th May 2008, 15:49
  4. screen template
    By stephanepilon in forum zenon Supervisor
    Replies: 6
    Last Post: 24th April 2008, 08:00

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •