Quintiq file version 2.0
#parent: #root
Response OnCreated () id:Response_SWF_CustomDrawComponentProcessDashboard_OnCreated
{
  #keys: '[113694.2.1117864530]'
  Body:
  [*
    // Close when workflow is not loaded
    if ( guard( not SWF_WorkflowDataset.IsWorkflowEnabled(), true )  ) 
    {
      this.ShowHideWorkflowDashboard( false );
    }
    
    // Fill up background
    SWF_CustomDrawComponentProcessDashboard.BackgroundColor( Color::Color( 80, 81, 126 ) );
    
    // [Workaround] Disable shortcut key +-
    MenuDisableZoomIn.Visible( false );
    MenuDisableZoomOut.Visible( false );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIComponent_OnCreated'
}
