admin
2025-01-22 7e31442f0e9b07764e9c6a9680d3d4aeba5fe1de
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Quintiq file version 2.0
#parent: #root
Method EnableDaysOnlyMode () id:Method_LibCal_dlgEvent_EnableDaysOnlyMode
{
  #keys: '[150080.0.501348627]'
  Body:
  [*
    // Hide start and end time, and checkbox 'All day'.
    
    // pnlNotRecurring
    durStartTimeOfDay.Visible( false );
    durEndTimeOfDay  .Visible( false );
    ckbIsAllDay      .Visible( false );
    
    // Add an additional column for better alignment of label 'Duration'.
    lblMarginDuration.SetProperty( "NumberColumns", 3 );
    
    // pnlRecurring
    lblStartTimeRecurring     .Visible( false );
    durStartTimeOfDayRecurring.Visible( false );
    lblEndTimeRecurring       .Visible( false );
    durEndTimeOfDayRecurring  .Visible( false );
    ckbIsAllDayRecurring      .Visible( false );
    
    // Additionally for pnlNotRecurring: change label from 'Start time' to 'Start',
    //                                   hide end, and show + and - buttons.
    lblStartTime  .Text(  "Start" );
    lblEndTime    .Visible( false );
    datEndDate    .Visible( false );
    btnAddDay     .Visible( true  );
    btnSubtractDay.Visible( true  );
    lblOneDay     .Visible( true  );
    
    // Add an additional column for better alignment of label 'Duration'.
    lblMarginDurationRecurring .SetProperty( "NumberColumns", 3 );
  *]
}