Quintiq file version 2.0
#parent: dpNavigationPanel/btnSelectDateTime
Response OnClick () inherited id:Response_dpNavigationPanel_btnSelectDateTime_OnClick
{
  #keys: '[10710.0.139725533]'
  BaseType: 'Response_dpNavigationToolbar_btnSelectDateTime_OnClick'
  Body:
  [*
    //Set start time on gantt chart
    dlg := construct( dlgSelectDateTime );
    dlg.dtTime().DateOnly( true );
    dlg.dtTime().DateTime( Parent.Data().ActualTime() );
    
    if ( dlg.DoModal(this) = 1 )
    {
      ApplicationLibMacroPlanner.ChartShowPeriods( Parent.Data(), dlg.dtTime().DateTime(), DateTime::MaxDateTime() );
    }
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback );
  *]
}
