
dcl_settings:default_dcl_settings { audit_level = 0; }


 typ_img:image_button{color=0;allow_accept=true;}


 moldtyp:dialog{
  label="模架型號";
   :row{
    :column{
     :text{
      key="text_1";
     }
     :typ_img{width=30;height=9;
      key="typ_1";
     }
    }
    :column{
     :text{
      key="text_2";
     }
     :typ_img{width=30;height=9;
      key="typ_2";
     }
    }
    :column{
     :text{
      key="text_3";
     }
     :typ_img{width=30;height=9;
      key="typ_3";
     }
    }
    :column{
     :text{
      key="text_4";
     }
     :typ_img{width=30;height=9;
      key="typ_4";
     }
    }
   }
   :row{
    :column{
     :text{
      key="text_5";
     }
     :typ_img{width=30;height=9;
      key="typ_5";
     }
    }
    :column{
     :text{
      key="text_6";
     }
     :typ_img{width=30;height=9;
      key="typ_6";
     }
    }
    :column{
     :text{
      key="text_7";
     }
     :typ_img{width=30;height=9;
      key="typ_7";
     }
    }
    :column{
     :text{
      key="text_8";
     }
     :typ_img{width=30;height=9;
      key="typ_8";
     }
    }
   }
   :row{
    :column{
     :text{
      key="text_9";
     }
     :typ_img{width=30;height=9;
      key="typ_9";
     }
    }
    :column{
     :text{
      key="text_10";
     }
     :typ_img{width=30;height=9;
      key="typ_10";
     }
    }
    :column{
     :text{
      key="text_11";
     }
     :typ_img{width=30;height=9;
      key="typ_11";
     }
    }
    :column{
     :text{
      key="text_12";
     }
     :typ_img{width=30;height=9;
      key="typ_12";
     }
    }
   }
   :row{
    :column{
     :text{
      key="text_13";
     }
     :typ_img{width=30;height=9;
      key="typ_13";
     }
    }
    :column{
     :text{
      key="text_14";
     }
     :typ_img{width=30;height=9;
      key="typ_14";
     }
    }
    :column{
     :text{
      key="text_15";
     }
     :typ_img{width=30;height=9;
      key="typ_15";
     }
    }
    :column{
     :text{
      key="text_16";
     }
     :typ_img{width=30;height=9;
      key="typ_16";
     }
    }
   }
   ok_only;
 }



 moldtyp0:dialog{
  label="模架型號";
   :row{
    :column{
     :text{
      key="text_1";
     }
     :typ_img{width=30;height=9;
      key="typ_1";
     }
    }
    :column{
     :text{
      key="text_2";
     }
     :typ_img{width=30;height=9;
      key="typ_2";
     }
    }
    :column{
     :text{
      key="text_3";
     }
     :typ_img{width=30;height=9;
      key="typ_3";
     }
    }
    :column{
     :text{
      key="text_4";
     }
     :typ_img{width=30;height=9;
      key="typ_4";
     }
    }
   }

   :row{
    :column{
     :text{
      key="text_9";
     }
     :typ_img{width=30;height=9;
      key="typ_9";
     }
    }
    :column{
     :text{
      key="text_10";
     }
     :typ_img{width=30;height=9;
      key="typ_10";
     }
    }
    :column{
     :text{
      key="text_11";
     }
     :typ_img{width=30;height=9;
      key="typ_11";
     }
    }
    :column{
     :text{
      key="text_12";
     }
     :typ_img{width=30;height=9;
      key="typ_12";
     }
    }
   }

   :row{
    :column{
     :text{
      key="text_5";
     }
     :typ_img{width=30;height=9;
      key="typ_5";
     }
    }
    :column{
     :text{
      key="text_6";
     }
     :typ_img{width=30;height=9;
      key="typ_6";
     }
    }
    :column{
     :text{
      key="text_7";
     }
     :typ_img{width=30;height=9;
      key="typ_7";
     }
    }
    :column{
     :text{
      key="text_8";
     }
     :typ_img{width=30;height=9;
      key="typ_8";
     }
    }
   }

   :row{
    :column{
     :text{
      key="text_13";
     }
     :typ_img{width=30;height=9;
      key="typ_13";
     }
    }
    :column{
     :text{
      key="text_14";
     }
     :typ_img{width=30;height=9;
      key="typ_14";
     }
    }
    :column{
     :text{
      key="text_15";
     }
     :typ_img{width=30;height=9;
      key="typ_15";
     }
    }
    :column{
     :text{
      key="text_16";
     }
     :typ_img{width=30;height=9;
      key="typ_16";
     }
    }
   }
   ok_only;
 }



mold_egs : dialog{
label ="中托司";
spacer_1;
:row{
:column{
:boxed_row{
  label ="直徑";
  :popup_list{label="直徑:";key="egs_dia";width = 25;}
}
:boxed_column{
label ="長度";
:row{
  :radio_button{label="類型一";key="egsty1";}
  :radio_button{label="類型二";key="egsty2";}
}
:row{
  :text{key="egstxt";width = 12;}
  :edit_box{key="egsed";edit_width = 8;}
}
}
:boxed_row{
 label ="數量";
 :radio_button{label="兩組";key="egs2";}
 :radio_button{label="四組";key="egs4";}
}
:boxed_column{
 label ="間距";
 :edit_box{label="X軸間距:";key="egs_x";edit_width = 10;}
 :edit_box{label="Y軸間距:";key="egs_y";edit_width = 10;}
}
}
:column{
 :image{key ="egs_img";color = 0 ;width = 28;height=9.5;}
 :image{key ="egs_img2";color = 0 ;width = 28;height=9.5;}
}
}

spacer_1;
ok_cancel;
//ok_button;
spacer_1;

}



mold : dialog{
 label="模胚";
 spacer;
 :row{
  :column{
   :boxed_column{
     label="模胚厂家";
     :radio_button{
      label="富得巴(FUTABA)";
      key="fut_mold";
      width=10;
     }
     :radio_button{
      label="龍記(LKM)";
      key="lkm_mold";
      width=10;
     }
     :radio_button{
      label="明利(MINGLEE)";
      key="min_mold";
      width=10;
     }
     :radio_button{
      label="環胜(EVER)";
      key="evr_mold";
      width=10;
     }
   }
   spacer;
   :boxed_column{
     label="模胚類型";
     :radio_button{
       label="大水口";
       key="sgs";
     }
     :radio_button{
       label="細水口";
       key="pps";
     }
     :radio_button{
       label="簡化型細水口";
       key="tps";
     }
   }
   spacer;
   :boxed_column{
     label="模胚型號";
     :button{label ="圖   選";key ="mold_typ";height=4;}
     :text{key="typ_box";alignment=centered;}
   }
  }

  :boxed_column{
    label="模胚規格";
    :list_box {key="numsel";width=15;height=16;}
  }

  :column{
    :row{
      :column{
        :boxed_column{
          :edit_box{label ="A 板 厚 度 :";key="apwt";edit_width = 9;}
          :edit_box{label ="B 板 厚 度 :";key="bpwt";edit_width = 9;}
          :edit_box{label ="C 板 厚 度 :";key="cpwt";edit_width = 9;}
          :edit_box{label ="A B 板間距:";key="ab_val";edit_width = 9;}
          :edit_box{label ="垃圾釘高度:";key="eb_val";edit_width = 9;}
        }

        :boxed_column{
          label="零件位置";
          :row{
            :text{label="導  柱:  ";key="gp_cap";width = 5.0;}
            :radio_button{label="公模";key="gp_ba";value="1";}
            :radio_button{label="母模";key="gp_fr";}
          }
          :row{
            :text{label="水口邊:";key="sp_cap";width = 5.0;}
            :radio_button{label="外側";key="sp_ou";value="1";}
            :radio_button{label="里側";key="sp_in";}
          }
        }
        :boxed_row{
          : toggle{label ="中托司";key="egs_ki";}
          : button{label ="詳細參數";key ="m_egs";}
        }
      }
      :column{
        :boxed_column{
          :image{key ="typ_img";color=0;width=40;height=15;}
          :text{key ="txt1";}
          :text{key ="txt2";}
        }
        :boxed_row{
          : toggle{label ="基 准 ";key ="jz_id";}
          : toggle{label ="螺 絲 ";key ="sw_id";}
          : toggle{label ="回位銷";key ="rp_id";}
          : toggle{label ="導 柱 ";key ="gp_id";}
          : toggle{label ="水口邊";key ="sp_id";}
        }
      }
    }
  }
}

spacer;
: row {
  fixed_width = true;
  alignment = centered;
  : button{label ="   看  圖   ";key ="zoom";alignment=centered;}
  : spacer { width = 10; }
  : button{label ="   确  定   ";key ="accept";is_default=true;alignment=centered;}
  : spacer { width = 10; }
  : button{label ="   取  消   ";key ="cancel";is_cancel=true;alignment=centered;}
}
spacer;
}

