Quintiq file version 2.0 #parent: #root Method EnableDisableComponent ( Boolean initialize_i ) id:Method_SWF_DialogWorkflowParameter_EnableDisableComponent { #keys: '[157912.0.831016154]' Body: [* // Enable/disable dialog components isCurrentDateAutomatic:= ifexpr( initialize_i, not SWF_WorkflowDataset.GlobalParameter().CurrentDateHasManual(), CheckboxCurrentDateAutomatic.Checked() ); DateSelectorCurrentDate.Enabled( not isCurrentDateAutomatic, '' ); LabelCurrentDate.Visible( isCurrentDateAutomatic ); *] }