| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 | | Quintiq file version 2.0 |  | #parent: Toolbar/btnOk |  | Response OnClick () id:Response_Toolbar_btnOk_OnClick |  | { |  |   #keys: '[132254.0.12608438]' |  |   Body: |  |   [* |  |     Dialog.ApplyChanges(); |  |     Dialog.EndModal(1); |  |   *] |  |   DefinitionID: 'Responsedef_GUIButtonBase_OnClick' |  |   Precondition: |  |   [* |  |     hasselection := SelectionView.BoundValue() <> ''; |  |     result := ifexpr( Dialog.Data().NeedsViewToOpen(), |  |                       hasselection, |  |                       true ); |  |      |  |     if( not result ) |  |     { |  |       feedback := "Assign a view for " + Dialog.Data().Name() + " group."; |  |     } |  |      |  |     return result; |  |   *] |  | } | 
 |