Quintiq file version 2.0
#parent: #root
Method ShowYearlyPattern () id:Method_LibCal_dlgEvent_ShowYearlyPattern
{
  #keys: '[131094.0.2102178626]'
  Body:
  [*
    // Specific date
    isDate := ckbYearlyDay.Checked();
    
    ckbYearlyDay     .Enabled( true,   "" );
    ssYearlyMonth     .Enabled( isDate, "" );
    ssYearlyDayOfMonth.Enabled( isDate, "" );
    
    // Pattern
    isPattern := ckbYearlyPattern.Checked();
    
    ckbYearlyPattern          .Enabled( true,      "" );
    ssYearlyPatternWeekOfMonth.Enabled( isPattern, "" );
    ssYearlyPatternDayOfWeek  .Enabled( isPattern, "" );
    ssYearlyPatternMonth      .Enabled( isPattern, "" );
  *]
}
