mold1 :dialog{
  label = "Select Mould Base System";
  :row {
    :column {
      :spacer_1 {}
      :text {
	label = "Mould Base system List:";
	width = 10;
      }
      :list_box {
	key = "MoldSysLst";
	height = 10;
	width = 30;
      }
      :text {
        key = "MoldSysName";
	width = 10;
      }
      :spacer {
	height = 5;
      }
      :button {
	label = "&Next";
	key="next0";
	is_default = true;
	width = 8;
      }
      :button {
	is_cancel = true;
	label = "E&xit";
	width = 8;
      }
      :spacer_1{}
    }
    :column {
      :image_button {
        key = "MoldSysView";
        aspect_ratio = 1.5;
	height = 20;
        color = 0;
      }
    }
  }
}

mold21 :dialog {
  label = "Mould Base Type Select";
  :row {
    :column {
      :button {
        label = "&1";
	key   = "AI";
	width = 8;
      }
      :button {
        label = "&2";
	key   = "AH";
	width = 8;
      }
      :button {
        label = "&3";
	key   = "AT";
	width = 8;
      }
      :button {
        label = "&4";
	key   = "BI";
	width = 8;
      }
      :button {
        label = "&5";
	key   = "BH";
	width = 8;
      }
      :button {
        label = "&6";
	key   = "BT";
	width = 8;
      }
      :button {
        label = "&7";
	key   = "CI";
	width = 8;
      }
      :button {
        label = "&8";
	key   = "CH";
	width = 8;
      }
     :button {
        label = "&9";
	key   = "CT";
	width = 8;
      }
      :button {
        label = "10";
	key   = "DI";
	width = 8;
      }
      :button {
        label = "11";
	key   = "DH";
	width = 8;
      }
      :button {
        label = "12";
	key   = "DT";
	width = 8;
      }
    }
    :column {
      width = 20;
      :text {
        label = "Type AI";
      }
      :text {
        label = "Type AH";
      }
      :text {
        label = "Type AT";
      }
      :text {
        label = "Type BI";
      }
      :text {
        label = "Type BH";
      }
      :text {
        label = "Type BT";
      }
      :text {
        label = "Type CI";
      }
      :text {
        label = "Type CH";
      }
      :text {
        label = "Type CT";
      }
      :text {
        label = "Type DI";
      }
      :text {
        label = "Type DH";
      }
      :text {
        label = "Type DT";
      }
    }
    :spacer_1 {}
    :column {
      :image_button {
        aspect_ratio = 2.4;
        key = "AIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "BIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "CIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "DIV";
        height = 3;
        color = 0;
      }
    }
    :column {
      :image_button {
        aspect_ratio = 2.4;
        key = "AHV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "BHV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "CHV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "DHV";
        height = 3;
        color = 0;
      }
    }
    :column {
      :image_button {
        aspect_ratio = 2.4;
        key = "ATV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "BTV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "CTV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "DTV";
        height = 3;
        color = 0;
      }
    }
  }
  :row {
    :spacer {
      width = 8;
    }
    :button {
      label = "&Back";
      key = "back21";
      width = 8;
      fixed_width = true;
    }
    :button {
      label = "&Next";
      key = "next23";
      is_default = true;
      width = 12;
      fixed_width = true;
    }
    :button {
      label = "E&xit";
      is_cancel = true;
      key = "cancel";
      fixed_width = true;
    }
    :spacer {
      width = 8;
    }
  }
}

mold22 :dialog {
  label = "Mould Base Type Select";
  :row {
    :column {
      :button {
        label = "&1";
	key   = "FAI";
	width = 8;
      }
      :button {
        label = "&2";
	key   = "FCI";
	width = 8;
      }
      :button {
        label = "&3";
	key   = "GAI";
	width = 8;
      }
      :button {
        label = "&4";
	key   = "GCI";
	width = 8;
      }
      :button {
        label = "&5";
	key   = "FAH";
	width = 8;
      }
      :button {
        label = "&6";
	key   = "FCH";
	width = 8;
      }
      :button {
        label = "&7";
	key   = "GAH";
	width = 8;
      }
     :button {
        label = "&8";
	key   = "GCH";
	width = 8;
      }
      :button {
        label = "&9";
	is_enabled = false;
	width = 8;
      }
    }
    :column {
      width = 20;
      :text {
        label = "Type FAI";
      }
      :text {
        label = "Type FCI";
      }
      :text {
        label = "Type GAI";
      }
      :text {
        label = "Type GCI";
      }
      :text {
        label = "Type FAH";
      }
      :text {
        label = "Type FCH";
      }
      :text {
        label = "Type GAH";
      }
      :text {
        label = "Type GCH";
      }
      :text {
        label = "";
      }
    }
    :spacer_1 {}
    :column {
      :image_button {
        aspect_ratio = 2.4;
        key = "FAIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "GCIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "GAHV";
        height = 3;
        color = 0;
      }
    }
    :column {
      :image_button {
        aspect_ratio = 2.4;
        key = "FCIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "FAHV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "GCHV";
        height = 3;
        color = 0;
      }
    }
    :column {
      :image_button {
        aspect_ratio = 2.4;
        key = "GAIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "FCHV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        height = 3;
        color = 0;
      }
    }
  }
  :row {
    :spacer {
      width = 4;
    }
    :button {
      label = "&Back";
      key = "back21";
      width = 8;
    }
    :spacer {
      width = 4;
    }
    :button {
      label = "&Next";
      key = "next23";
      is_default = true;
      width = 8;
    }
    :spacer {
      width = 4;
    }
    :button {
      label = "E&xit";
      is_cancel = true;
      key = "cancel";
    }
    :spacer {
      width = 4;
    }
  }
}

mold23 :dialog {
  label = "Mould Base Type Select";
  :row {
    :column {
      :button {
        label = "&1";
	key   = "DAI";
	width = 8;
      }
      :button {
        label = "&2";
	key   = "DBI";
	width = 8;
      }
      :button {
        label = "&3";
	key   = "DCI";
	width = 8;
      }
      :button {
        label = "&4";
	key   = "DDI";
	width = 8;
      }
      :button {
        label = "&5";
	key   = "EAI";
	width = 8;
      }
      :button {
        label = "&6";
	key   = "EBI";
	width = 8;
      }
      :button {
        label = "&7";
	key   = "ECI";
	width = 8;
      }
     :button {
        label = "&8";
	key   = "EDI";
	width = 8;
      }
      :button {
        label = "&9";
	is_enabled = false;
	width = 8;
      }
    }
    :column {
      width = 20;
      :text {
        label = "Type DAI";
      }
      :text {
        label = "Type DBI";
      }
      :text {
        label = "Type DCI";
      }
      :text {
        label = "Type DDI";
      }
      :text {
        label = "Type EAI";
      }
      :text {
        label = "Type EBI";
      }
      :text {
        label = "Type ECI";
      }
      :text {
        label = "Type EDI";
      }
      :text {
        label = "";
      }
    }
    :spacer_1 {}
    :column {
      :image_button {
        aspect_ratio = 2.4;
        key = "DAIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "DDIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "ECIV";
        height = 3;
        color = 0;
      }
    }
    :column {
      :image_button {
        aspect_ratio = 2.4;
        key = "DBIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "EAIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "EDIV";
        height = 3;
        color = 0;
      }
    }
    :column {
      :image_button {
        aspect_ratio = 2.4;
        key = "DCIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        key = "EBIV";
        height = 3;
        color = 0;
      }
      :image_button {
        aspect_ratio = 2.4;
        height = 3;
        color = 0;
      }
    }
  }
  :row {
    :spacer {
      width = 4;
    }
    :button {
      label = "&Back";
      key = "back21";
      width = 8;
    }
    :spacer {
      width = 4;
    }
    :button {
      label = "&Next";
      key = "next23";
      is_default = true;
      width = 8;
    }
    :spacer {
      width = 4;
    }
    :button {
      label = "E&xit";
      is_cancel = true;
      key = "cancel";
    }
    :spacer {
      width = 4;
    }
  }
}

mold3 :dialog {
  label = "Mold Base Lib";
  :row {
    :boxed_row {
      label = "Select Specification";
      :column {
	:button {
          label = "&Specification...";
          key = "SpecSel";
        }
	:button {
          label = "&A Plate...";
          key = "aPlateSel";
        }
	:button {
          label = "&B Plate...";
          key = "bPlateSel";
        }
	:button {
          label = "&SB Plate...";
          key = "sbPlateSel";
        }
      }
      :column {
        :edit_box {
          key = "SpecValue";
          width = 16;
        }
        :edit_box {
          key = "aPlateThk";
          width = 16;
        }
        :edit_box {
          key = "bPlateThk";
          width = 16;
        }
        :edit_box {
          key = "sbPlateThk";
          width = 16;
        }
      }
    }
    :boxed_row {
      :column {
        :text {
          label = "ERP:";
	}
        :text {
          label = "EP:";
        }
        :text {
          label = "TP:";
        }
        :text {
          label = "BP:";
        }
        :text {
          label = "RP:";
        }
        :text {
          label = "ST:";
        }
        :text {
          label = "SP:";
        }
      }
      :column {
        :edit_box {
          key = "erp";
	  width = 8;
	}
        :edit_box {
          key = "ep";
	  width = 8;
        }
        :edit_box {
          key = "tp";
	  width = 8;
        }
        :edit_box {
          key = "bp";
	  width = 8;
        }
        :edit_box {
          key = "rp";
	  width = 8;
        }
        :edit_box {
          key = "st";
	  width = 8;
        }
        :edit_box {
          key = "sp";
	  width = 8;
        }
      }
    }
  }
  :spacer_1{}
  :row {
    :spacer {
      width = 6;
    }
    :button {
      key = "back32";
      label = "&Back";
    }
    :spacer {
      width = 1;
    }
    :button {
      is_default = true;
      label = "&Next";
      key = "next34";
    }
    :spacer {
      width = 1;
    }
    :button {
      key = "option";
      label = "&Options";
    }
    :spacer {
      width = 1;
    }
    :button {
      is_cancel = true;
      label = "E&xit";
    }
    :spacer {
      width = 6;
    }
  }
  :spacer_1{}
}

mold31 :dialog {
  label = "Select Mold Base Value";
  :text {
    key = "MoldSpecValue";
    width = 8;
  }
  :list_box {
    key = "MoldSpecLst";
    height = 20;
    width = 8;
  }
  :button {
    alignment = centered;
    label = "&OK";
    is_default = true;
    fixed_width = true;
    key = "accept";
  }
  :text {
    key = "MSG";
  }
}

mold32 :dialog {
  label = "Select Value";
  :text {
    key = "Value";
    width = 10;
  }
  :list_box {
    key = "Lst";
    height = 14;
    width = 10;
  }
  :button {
    alignment = centered;
    label = "&OK";
    is_default = true;
    fixed_width = true;
    key = "accept";
  }
  :text {
    key = "MSG";
  }
}

mold33 :dialog {
  label = "Mold Base Option";
  :row {
    :boxed_column {
      label = "Return Pin Option";
      :toggle {
	label = "Reselect?";
	key = "IfRpnNew";
      }
      :text {
	alignment = left;
        label = "Return Pin List";
      }
      :list_box {
        height = 9;
        width = 6;
        key = "RpnSpecLst";
      }
      :text {
        key = "RpnSpec";
        label = "";
      }
    }
    :boxed_column {
      label = "Spring Option";
      :row {
        :toggle {
          label = "Add Spring?";
	  key = "IfAddSpg";
        }
        :toggle {
	  label = "Metric";
          key = "mb";
        }
      }
      :row {
        :text {
          label = "Spring Hole Depth:";
        }
        :edit_box {
          key = "SpgHDep";
        }
        :spacer {
          width = 10;
        }
      }
      :row {
        :column {
          :text {
	    alignment = left;
            label = "1. Spring Spec";
          }
          :list_box {
            height = 8;
            width = 5;
            key = "SpgSpecLst";
          }
        }
        :column {
          :text {
	    alignment = left;
            label = "2. Spring Length";
          }
          :list_box {
            height = 8;
            width = 5;
            key = "SpgLenLst";
          }
        }
      }
      :text {
        key = "SpgSpec";
        label = "";
      }
    }
  }
  :button {
    alignment = centered;
    label = "&OK";
    is_default = true;
    fixed_width = true;
    key = "OK";
  }
  :text {
    key = "Msg33";
    label = "";
  }
}
    
mold41 :dialog {
  label = "Molud Base Insert Option";
  :row {
    :boxed_column {
      label = "Insert Position";
      :row {
        :toggle {
          label = "Specify on Screen";
          key = "gPtOnScr";
        }
        :toggle {
          label = "Auto Layout";
          key = "IfAuto";
          value = "1";
        }
      }
      :row {
        :boxed_column {
          label = "View1";
          :button {
            label = "Pick Point>";
            key = "V1PT";
          }
          :row {
            :text {
              label = "X:";
            }
            :edit_box {
              key = "V1X";
              width = 8;
            }
          }
          :row {
            :text {
              label = "Y:";
            }
            :edit_box {
              key = "V1Y";
              width = 8;
            }
          } 
          :row {
            :text {
              label = "Z:";
            }
            :edit_box {
              key = "V1Z";
              width = 8;
            }
          }
        }
        :boxed_column {
          label = "View2";
          :button {
            label = "Pick Point>";
            key = "V2PT";
          }
          :row {
            :text {
              label = "X:";
            }
            :edit_box {
              key = "V2X";
              width = 8;
            }
          }
          :row {
            :text {
              label = "Y:";
            }
            :edit_box {
              key = "V2Y";
              width = 8;
            }
          } 
          :row {
            :text {
              label = "Z:";
            }
            :edit_box {
              key = "V2Z";
              width = 8;
            }
          }
        }
      }
      :row {
        :boxed_column {
          label = "View3";
          :button {
            label = "Pick Point>";
            key = "V3PT";
          }
          :row {
            :text {
              label = "X:";
            }
            :edit_box {
              key = "V3X";
              width = 8;
            }
          }
          :row {
            :text {
              label = "Y:";
            }
            :edit_box {
              key = "V3Y";
              width = 8;
            }
          } 
          :row {
            :text {
              label = "Z:";
            }
            :edit_box {
              key = "V3Z";
              width = 8;
            }
          }
        }
        :boxed_column {
          label = "View4";
          :button {
            label = "Pick Point>";
            key = "V4PT";
          }
          :row {
            :text {
              label = "X:";
            }
            :edit_box {
              key = "V4X";
              width = 8;
            }
          }
          :row {
            :text {
              label = "Y:";
            }
            :edit_box {
              key = "V4Y";
              width = 8;
            }
          } 
          :row {
            :text {
              label = "Z:";
            }
            :edit_box {
              key = "V4Z";
              width = 8;
            }
          }
        }
      }
    }
  }
  :row {
    :spacer {
      width = 2;
    }
    :button {
      label = "&Back";
      key  = "back43";
    }
    :spacer {
      width = 1;
    }
    :button {
      label = "&Finish";
      key  = "finish";
      is_default = true;
    }
    :spacer {
      width = 1;
    }
    :button {
      label = "&Cancel";
      is_cancel = true;
    }
    :spacer {
      width = 2;
    }
  }
}
      
        