yanweiyuan3
2023-08-09 588bc7829387dfc761cc25f06f77d4c81818bd10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Quintiq file version 2.0
#parent: selCategory
Response OnListDataChanged () id:Response_selCategory_OnListDataChanged
{
  #keys: '[131094.1.663353347]'
  Body:
  [*
    // Set the BoundValue to the category of the event, or the general event for new events.
    // It needs to be done explicitly here, because for new events data binding doesn't work yet.
    categoryName := guard( Dialog.Data().EventCategory().Name(),
                           Dialog.Data().Calendar().CalendarRegistry().GetGeneralEventCategory().Name() );
    this.BoundValue( categoryName );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUISelectionBase_OnListDataChanged'
}