Quintiq file version 2.0
#parent: tbButtons/btnOk
Response OnClick () id:Response_tbButtons_btnOk_OnClick
{
  #keys: '[136398.1.474842075]'
  Body:
  [*
    Dialog.ApplyChanges();
    Dialog.EndModal(1);
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    Dialog.ApplyChanges();
    return KpiMetaData::CanSave( KpiTracker.KpiMetaDataFactory(), 
                                 Dialog.Data().WrappedInstance(), 
                                 edtName.Text(), 
                                 edtDisplayName.Text(),
                                 edtDescription.Text(),
                                 Dialog.Data().IsMaximize(),
                                 Dialog.Data().IsMinimize(),
                                 edtUnitOfMeasure.Text() );
  *]
}
