Locks - Keys - Functional Security

Is there a "Function" I can assign to a lock that allows exiting the Workspace (Operate) application?

Operators keep accidentally turning the monitors off.  When the monitor is turned back on, Operate is only taking up about 60% of the screen, and nothing seems to want to make it go back to full screen except exiting and restarting Operate.

Any ideas?

Thanks,

 Travis

  • I have added a button to the toolbar before that resets the application window to the right size and position, if that is an option. 

    Aaron

    On Sep 17, 2012, at 9:22 PM, "Travis Neale" <bounce-travisneale@community.emerson.com> wrote:

    Is there a "Function" I can assign to a lock that allows exiting the Workspace (Operate) application?

    Operators keep accidentally turning the monitors off.  When the monitor is turned back on, Operate is only taking up about 60% of the screen, and nothing seems to want to make it go back to full screen except exiting and restarting Operate.

    Any ideas?

    Thanks,

     Travis

  • In reply to Aaron Crews:

    That would actually be preferred!  

  • Travis –
     
    This is what I used for my situation.  Your exact code will depend on whether you have one, two, or four monitors and how they are arranged.
     
        'WindowState = Restore
        Application.WindowState = 1
       
        'Position = Top Left
        Application.Top = 0
        Application.Left = 0
       
        'Width and Height maximized
        Application.Width = 100
        If frsIsDualMonitor Then
          Application.Height = 200
        Else
          Application.Height = 100
        End If
     
    Aaron Crews | Engineering Lead, PSS Business Development
     
    From: Travis Neale [mailto:bounce-travisneale@community.emerson.com]
    Sent: Tuesday, September 18, 2012 1:35 AM
    To: DeltaV@community.emerson.com
    Subject: RE: [EE365 DeltaV Track] Locks - Keys - Functional Security
     

    That would actually be preferred!  

  • In reply to Aaron Crews:

    Thanks Aaron!  That works!  Some of the text ends up 5x normal size, so I still have some work to do, but that at least gets me back to full screen.

    Thanks again!

    Travis

  • No problem. You can probably kick off a reset layout if you wanted to as well.

    Aaron

    On Sep 20, 2012, at 11:42 AM, "Travis Neale" <bounce-travisneale@community.emerson.com> wrote:

    Thanks Aaron!  That works!  Some of the text ends up 5x normal size, so I still have some work to do, but that at least gets me back to full screen.

    Thanks again!

    Travis