Quintiq file version 2.0
|
#parent: Toolbar/ButtonOk
|
Response OnClick () id:Response_Toolbar_ButtonOk_OnClick
|
{
|
#keys: '[11660.0.62385711]'
|
Body:
|
[*
|
// Apply changes
|
|
Dialog.ApplyChanges();
|
Dialog.SetAttributesAfterOnApplyData();
|
Dialog.EndModal(1);
|
*]
|
DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
|
Precondition:
|
[*
|
sanitycheckfeedback := '';
|
return not isnull( Dialog.Data() ) //the only time Dialog.Data null check is required is when this dlg is opened for view initialization.
|
and Lane::ValidateInput( feedback,
|
sanitycheckfeedback,
|
MacroPlan,
|
SelectionUnit.Data(),
|
Dialog.Data().WrappedInstance(),
|
EditorID.Text(),
|
EditorName.Text(),
|
CheckBoxHasStart.Checked(),
|
GUIDateTimeSelectorStart.DateTime().Date(),
|
CheckBoxHasEnd.Checked(),
|
GUIDateTimeSelectorEnd.DateTime().Date(),
|
GUIDurationSelectorPreprocessingTime.Duration(),
|
true);
|
*]
|
}
|