| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 | | Quintiq file version 2.0 |  | #parent: #root |  | Function CalcBackgroundRegionHeight |  | { |  |   TextBody: |  |   [* |  |     // ying ying Feb-24-2016 (created) |  |      |  |     value := 0; |  |     rcv := this.RoutingConfiguratorView(); |  |     if( not isnull( rcv ) ) |  |     { |  |       pisp := maxselect( this, PISPNodeInRouting, node, true, node.Y() ); |  |       if( not isnull( pisp ) ) |  |       { |  |         value := maxvalue( this.LeftRegionHeight(), pisp.Y() + rcv.PISPHeight() );  //including some blank space below the last step |  |       } |  |       value := value + rcv.RoutingStepDistance(); |  |     } |  |      |  |     this.BackgroundRegionHeight( value ); |  |   *] |  | } | 
 |