Quintiq file version 2.0
#parent: #root
Method EnableDisableComponent () id:Method_DialogExportDEFDP_EnableDisableComponent
{
  #keys: '[145730.0.1651541388]'
  Body:
  [*
    // Checkbox logic to enable/disable components
    newSetDefaultName := ifexpr( CheckboxNewSet.Checked(),
                                 Translations::MP_Designer_DialogEDIImportExport_ConstrainedForecast() + ' ' + Date::Today().Format( 'D-M'),
                                 '' );
    
    DropDownListExistingSet.Enabled( not CheckboxNewSet.Checked(), '' );
    EditFieldNewSet.Enabled( CheckboxNewSet.Checked(), '' );
    EditFieldNewSet.Text( newSetDefaultName );
  *]
}
