yanyuan
2023-11-10 143ef74e2eeee697ac8fda3d9032a790fbb4e146
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
Quintiq file version 2.0
#parent: #root
Method PTF_PopulateParametersInfo () id:Method_LibPTF_dlgCreateEditTestScript_PTF_PopulateParametersInfo
{
  #keys: '[103546.0.102532833]'
  Body:
  [*
    // Set the tooltip with some brief description for the selected standard action
    keyword  := selKeyWord.BoundValue();
    infotext := "";
    
    if( keyword = LibPTF_StandardAction::AutoClose() )
    {
      infotext := "Close the Runner automatically when the script is completely executed.";
    }
    else if( keyword = LibPTF_StandardAction::CloseAllForms() )
    {
      infotext := "Close all the opened forms.";
    }
    else if( keyword = LibPTF_StandardAction::Loop() )
    {
      infotext := "Loop the actions within the block for a specified number of times.";
    }
    else if( keyword = LibPTF_StandardAction::OpenView() )
    {
      infotext := "Open the specified view.";
    }
    else if( keyword = LibPTF_StandardAction::ScrollGCLeftRight() )
    {
      infotext := "Scroll the gantt chart by the specified number of units." + String::NewLine()
                  + "Positive numbers (e.g. 1) : scroll to right." + String::NewLine()
                  + "Negative numbers (e.g. -1): scroll to left.";
    }
    else if( keyword = LibPTF_StandardAction::ScrollGCPageLeftRight() )
    {
      infotext := "Scroll the gantt chart by the specified number of pages." + String::NewLine()
                  + "Positive numbers (e.g. 1) : scroll to right." + String::NewLine()
                  + "Negative numbers (e.g. -1): scroll to left.";
    }
    else if( keyword = LibPTF_StandardAction::ScrollGCUpDown() )
    {
      infotext := "Scroll the gantt chart by the specified number of units." + String::NewLine()
                  + "Positive numbers (e.g. 1) : scroll up." + String::NewLine()
                  + "Negative numbers (e.g. -1): scroll down.";
    }
    else if( keyword = LibPTF_StandardAction::ScrollGCPageUpDown() )
    {
      infotext := "Scroll the gantt chart by the specified number of pages." + String::NewLine()
                  + "Positive numbers (e.g. 1) : scroll up." + String::NewLine()
                  + "Negative numbers (e.g. -1): scroll down.";
    }
    else if( keyword = LibPTF_StandardAction::ScrollGCToTop() )
    {
      infotext := "Scroll the gantt chart to the top (first row).";
    }
    else if( keyword = LibPTF_StandardAction::ScrollGCToBottom() )
    {
      infotext := "Scroll the gantt chart to the bottom (last row).";
    }
    else if( keyword = LibPTF_StandardAction::ScrollGCToNow() )
    {
      infotext := "Scroll the gantt chart to the current time.";
    }
    else if( keyword = LibPTF_StandardAction::ScrollListToLast() )
    {
      infotext := "Scroll the list to the bottom (last item).";
    }
    else if( keyword = LibPTF_StandardAction::SelectListFrom() )
    {
      infotext := "Select an entry in the list specified by an index.";
    }
    else if( keyword = LibPTF_StandardAction::Wait() )
    {
      infotext := "Wait for the specified time in order to simulate user thinking time." + String::NewLine()
                  + "If two arguments are specified a random value between <MinTimeInSeconds> and <MaxTimeInSeconds> will be generated.";
    }
    else if( keyword = LibPTF_StandardAction::ZoomGC() )
    {
      infotext := "Zoom the gantt chart by the specified zoom level." + String::NewLine()
                  + "Positive numbers (e.g. 1) : zoom in." + String::NewLine()
                  + "Negative numbers (e.g. -1): zoom out.";
    }
    else if( keyword = LibPTF_StandardAction::ProfilerStart() )
    {
      infotext := "Start a server Profiler session.";
    }
    else if( keyword = LibPTF_StandardAction::ProfilerReset() )
    {
      infotext := "Reset server Profiler session and export the report at the specified file name in the result log folder.";
    }
    else if( keyword = LibPTF_StandardAction::ProfilerStop() )
    {
      infotext := "Stop server Profiler session and export the report at the specified file name in the result log folder.";
    }
    else
    {
      infotext := "";
    }
    
    imgKeyWordParameter.SetProperty( 'Tooltip', infotext );
  *]
}