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 );
|
*]
|
}
|