| | |
| | | // Create additional EventCategories. |
| | | LibCal_EventCategory::InitializeEventCategories( this ); |
| | | *] |
| | | InterfaceProperties { Accessibility: 'Module' } |
| | | } |
| | |
| | | ) as LibCal_CommonCalendar |
| | | { |
| | | TextBody: 'return owner_i.CommonCalendar( relnew );' |
| | | InterfaceProperties { Accessibility: 'Module' } |
| | | } |
| | |
| | | { |
| | | DefaultText: 'This date is not within the planned cycle!' |
| | | } |
| | | InfoMessage MP_LibCal_Event_ValidDateInterval |
| | | { |
| | | DefaultText: 'The start date is more than one day away from the end date!' |
| | | } |
| | | InfoMessage MP_LibCal_Event_ValidDatePeriod |
| | | { |
| | | DefaultText: 'The start date must be less than the end date!' |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method InitializeEventTypes |
| | | { |
| | | TextBody: |
| | | [* |
| | | // Always create a general EventCategory. |
| | | //LibCal_EventCategory::Create( this, LibCal_EventType::DEFAULT_TYPE() ); |
| | | this.EventType( relnew,ID := "blank", Name := LibCal_EventType::DEFAULT_TYPE() ); |
| | | |
| | | // Create additional EventCategories. |
| | | //LibCal_EventCategory::InitializeEventCategories( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method OnCreate #extension |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.SetTimeZoneID(); |
| | | this.InitializeEventCategories(); |
| | | this.InitializeEventTypes(); |
| | | |
| | | // Create the CommonCalendar. |
| | | LibCal_CommonCalendar::Create( this ); |
| | | *] |
| | | } |
| | |
| | | StaticMethod DEFAULT_TYPE () const declarative remote as String |
| | | { |
| | | Description: 'Can be extended to define the name of the general EventCategory, which will always be created.' |
| | | TextBody: 'return "端åè";' |
| | | TextBody: 'return " ";' |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | Description: 'dhEvent.Data.EventType' |
| | | DisplayField: 'Name' |
| | | NumberOfColumns: 15 |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DisplayField: 'Name' |
| | | Label: 'äºä»¶ç±»å' |
| | | NumberOfColumns: 15 |