| 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
 | | Quintiq file version 2.0 |  | #parent: QueryGroupPanel/TaskQueryButton |  | Response OnClick () id:Response_QueryGroupPanel_TaskQueryButton_OnClick |  | { |  |   #keys: '[100828.0.15367247]' |  |   Body: |  |   [* |  |     // Query tasks |  |     if ( QueryFilteringCheckBox.Checkstate() = 0 ) |  |     { |  |       list := ExternalModeledRunningTaskList::GetTaskList("", Duration::Zero()); |  |       info('-------------------- 1 --------------') |  |       traverse( list, Elements, e ) |  |       { |  |         info( 'Desc:', e.Description(), |  |               ' GUID:', e.GUID(), |  |               ' Start:', e.Start(), |  |               ' Type:', e.TaskType(), |  |               ' Trace:', e.Trace(), |  |               ' Duration:', e.Duration() ); |  |       } |  |       Form.Data(&list); |  |     } |  |     else if ( QueryFilteringCheckBox.Checkstate() = 1 ) |  |     { |  |       list := ExternalModeledRunningTaskList::GetTaskList(TypeFilteringEditor.Text(), DurationFilteringGUIDurationSelector.Duration()); |  |       info('-------------------- 2 --------------') |  |       traverse( list, Elements, e ) |  |       { |  |         info( 'Desc:', e.Description(), |  |               ' GUID:', e.GUID(), |  |               ' Start:', e.Start(), |  |               ' Type:', e.TaskType(), |  |               ' Trace:', e.Trace(), |  |               ' Duration:', e.Duration() ); |  |       } |  |       Form.Data(&list); |  |     } |  |   *] |  |   DefinitionID: 'Responsedef_GUIButtonBase_OnClick' |  | } | 
 |