Quintiq file version 2.0 #parent: #root Method ShowHideWorkflowDashboard ( Boolean show ) id:Method_SWF_CustomDrawComponentProcessDashboard_ShowHideWorkflowDashboard { #keys: '[113694.2.1118696936]' Body: [* // Show hide toolbar tooltip := SWF_Translation::TRANSLATE_ShowProcessDashboard();; pressed := false; panelsize := 0; if( show ) { pressed := true; tooltip := SWF_Translation::TRANSLATE_HideProcessDashboard(); panelsize := SWF_WorkflowDataset.GlobalParameter().DashboardGaugeHeight() + 30 // 30 for scrollbar; } button := this.GetButtonShowHideWorkflowDashboard(); if ( not isnull( button ) ) { button.Pressed( pressed ); button.SetProperty( 'Tooltip', tooltip ); } toolbar := this.GetWorkflowDashboardToolbar(); if (not isnull( toolbar ) ) { toolbar.SetProperty( 'Size', panelsize ); } this.OnShowHideWorkflowDashboard( show ) *] }