Facility Control

 View Only
  • 1.  Hold in CustomPanel Button

    Posted 02-22-2016 19:49
    Hello! Finally signed up for the forum!

    I have a question; As the title says, is it possible to add a hold line, not a pause line? This works well in Carbonite macro functions. Do you have any suggestions?

    Hoping for an answer! :)


  • 2.  RE: Hold in CustomPanel Button

    Posted 03-04-2016 01:05

    Hi Skopperud,

    Sorry it's taken a while for anyone to get back to you. I've had a look into your question, and while there isn't a hold function in custom buttons, there may be a way to set a parameter on the screen when the button is clicked (static variables don't seem to work), and then that parameter is checked each time the button is clicked to determine what actions to take. Here's some pseudocode:

    If Param = 0 Then
       Set Param = 1
       Do stuff
    Else
       Set Param = 0
       Do other stuff
    End If

    #DashBoard