| 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
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method NewRecipe ( |  |   internal[GUIComponent] parent |  | ) as Recipe id:Method_DialogCreateEditRecipe_NewRecipe |  | { |  |   #keys: '[110994.0.979684255]' |  |   Body: |  |   [* |  |     // Create recipe |  |      |  |     result := Dialog.DoModal( parent ); |  |     newobj := null( Recipe ); |  |      |  |     if( result > 0 ) |  |     { |  |       Recipe::Create( MacroPlan, |  |                       EditorName.Text(), |  |                       EditorDescription.Text(), |  |                       false ); |  |     } |  |      |  |     return newobj; |  |   *] |  | } | 
 |