chenqinghong
2024-05-07 3ec06a830367465068963156dcc1d8e522571c13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Quintiq file version 2.0
#parent: #root
Method ShowHideComponents (
  Boolean showddlpuzzle
) id:Method_DialogCreateEditOptimizerPuzzle_ShowHideComponents
{
  #keys: '[146140.0.1815026045]'
  Body:
  [*
    // Hide / Show components
    // Optimizer puzzle dropdown only shown if opening from optimizer dialog
    // Optimizer puzzle editor only shown if opening from optimizer puzzle list
    
    this.LabelSelectionOptimizerPuzzle().Visible( showddlpuzzle );
    this.SelectionOptimizerPuzzle().Visible( showddlpuzzle );
    this.ButtonCopyOptimizerPuzzle().Visible( showddlpuzzle );
    
    this.LabelName().Visible( not showddlpuzzle );
    this.EditorName().Visible( not showddlpuzzle );
  *]
}