| | |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component EditFlag |
| | | { |
| | | #keys: '[414996.0.60522350]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component PriorityFactorNameCache |
| | | { |
| | | #keys: '[414996.0.60522537]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Taborder: 5 |
| | | Visible: false |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | |
| | | Form.ClickBtnOK(); |
| | | } |
| | | }else { |
| | | Form.ClickBtnOK(); |
| | | if (EditFlag.Checked() and PriorityFactorNameCache.Text() <>PriorityFactorName.Text()){ |
| | | // Edit |
| | | repeatOne:=select(MacroPlan, PriorityFactor, pf, pf.Name() = PriorityFactorName.Text()); |
| | | if (not isnull(repeatOne)){ |
| | | WebMessageBox::Error (Translations::PriorityFactor_CheckNameValid () ); |
| | | }else{ |
| | | Form.ClickBtnOK(); |
| | | } |
| | | }else{ |
| | | Form.ClickBtnOK(); |
| | | } |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | if( not EditFlag.Checked()){ |
| | | PriorityFactorNameCache.Text(PriorityFactorName.Text()); |
| | | } |
| | | EditFlag.Checked(true); |
| | | *] |
| | | } |
对比新文件 |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityFactor |
| | | Response OnDoubleClick ( |
| | | PriorityFactor selection |
| | | ) id:Response_ListPriorityFactor_OnDoubleClick |
| | | { |
| | | #keys: '[414996.0.62910306]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnDoubleClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogEditPriorityFactor ); |
| | | dlg.Edit( selection); |
| | | *] |
| | | } |
| | | } |
对比新文件 |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityFactor |
| | | Response OnDrop ( |
| | | PriorityFactorDetail source, |
| | | PriorityFactor target |
| | | ) id:Response_ListPriorityFactor_OnDrop |
| | | { |
| | | #keys: '[414996.0.63148145]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnDrop' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( not isnull( source) and not isnull( target)){ |
| | | |
| | | } |
| | | *] |
| | | } |
| | | } |
对比新文件 |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityFactorGrading |
| | | Response OnDoubleClick ( |
| | | PriorityFactorDetail selection |
| | | ) id:Response_ListPriorityFactorGrading_OnDoubleClick |
| | | { |
| | | #keys: '[414996.0.62960783]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnDoubleClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogEditPriorityFactorDetail ); |
| | | dlg.Edit( selection ); |
| | | *] |
| | | } |
| | | } |