screwdlg :dialog {
  label = "螺丝库";
  :row {
     :column {
	:image_button {
	   key = "scr_cap";
	   height = 4;
	   aspect_ratio = 1.5;
	   color = 0;
	}
	:text {
	   label = "杯头螺丝";
	   alignment = centered;
	}
	:image_button {
	   key = "scr_set";
	   height = 4;
	   aspect_ratio = 1.5;
	   color = 0;
	}
	:text {
	   label = "无头螺丝";
	   alignment = centered;
	}
     }
     :column {
	:image_button {
	   key = "scr_flat";
	   height = 4;
	   aspect_ratio = 1.5;
	   color = 0;
	}
	:text {
	   label = "平头螺丝";
	   alignment = centered;
	}
	:image_button {
	   key = "scr_other";
	   height = 4;
	   aspect_ratio = 1.5;
	   color = 0;
	}
	:text {
	   label = "其它";
	   alignment = centered;
	}
     }
  }
  ok_only;
}

screditdlg :dialog {
  label = "Screw Modify";
  :row {
    :column {
      :text {
	label = "ITEM:";
      }
      :text {
        label = "CHINESE:";
      }
      :text {
        label = "DESCRIPTION:";
      }
      :text {
        label = "SPECIFICATION:";
      }
      :toggle {
        label = "All";
        key = "if_all";
      }
    }
    :column {
      :edit_box {
        key = "rep";
        width = 12;
      }
      :edit_box {
        key = "chin";
        width = 12;
      }
      :edit_box {
        key = "desc";
        width = 12;
      }
      :edit_box {
        key = "cot";
        width = 12;
      }
      :row {
        :button {
          label = "Delete>";
          key = "E_DEL";
        }
        :spacer_1{}
        ok_cancel;
      }
    }
  }
  :text {
    label = "";
    key  = "MSG";
  }
}

shcsdlg :dialog {
  label = "杯头螺丝";
  :row {
     :boxed_row {
	label = "螺丝规格选择";
	:column {
	   :text {
		label = "螺丝类型";
		alignment = centered;
	   }
	   :list_box {
		key = "CAPTYP";
		width = 10;
		height = 20;
	   }
	}
	:column {
	   :text {
		label = "螺丝长度";
		alignment = centered;
	   }
	   :list_box {
		key = "CAPLEN";
		width = 10;
		height = 20;
	   }
	}
     }
     :column {
	:row {
	   :text {
		label = "序号:";
	   }
	   :edit_box {
		key = "CAPITEM";
	   }
	}
	:row {
	   :text {
		label = "规格:";
	   }
	   :edit_box {
		key = "CAPSPEC";
	   }
	}
	:boxed_radio_row {
	   label = "公英制选择";
	   :radio_button {
		label = "公制";
		key = "CAPM";
	   }
	   :radio_button {
		label = "英制";
		key = "CAPB";
		value = 1;
	   }
	}
	:boxed_row {
	   label = "视图选择:";
	   :column {
		:image_button {
		   key = "cap_z";
		   height = 4;
		   aspect_ratio = 1.7;
		   color = 0;
		}
		:text {
		   label = "正视图";
		}
	   }
	   :column {
		:image_button {
		   key = "cap_c";
		   height = 4;
		   aspect_ratio = 1.7;
	           color = 0;
		}
		:text {
		   label = "侧视图";
		}
	   }
	}
	:toggle {
	   label = "是否用虚线绘出";
	   key = "HIDDENV";
	}
	:row {
	   :button {
	   	label = "返回>";
	   	key = "BACK";
	   }
	   :button {
		label = "看图";
		key = "LOOK";
	   }
	}
	ok_cancel;
     }
  }
}
	   
shfsdlg :dialog {
  label = "平头螺丝";
  :row {
     :boxed_row {
	label = "螺丝规格选择";
	:column {
	   :text {
		label = "螺丝类型";
		alignment = centered;
	   }
	   :list_box {
		key = "FLATTYP";
		width = 10;
		height = 20;
	   }
	}
	:column {
	   :text {
		label = "螺丝长度";
		alignment = centered;
	   }
	   :list_box {
		key = "FLATLEN";
		width = 10;
		height = 20;
	   }
	}
     }
     :column {
	:row {
	   :text {
		label = "序号:";
	   }
	   :edit_box {
		key = "FLATITEM";
	   }
	}
	:row {
	   :text {
		label = "规格:";
	   }
	   :edit_box {
		key = "FLATSPEC";
	   }
	}
	:boxed_radio_row {
	   label = "公英制选择";
	   :radio_button {
		label = "公制";
		key = "FLATM";
	   }
	   :radio_button {
		label = "英制";
		key = "FLATB";
		value = 1;
	   }
	}
	:boxed_row {
	   label = "视图选择:";
	   :column {
		:image_button {
		   key = "flat_z";
		   height = 4;
		   aspect_ratio = 1.7;
		   color = 0;
		}
		:text {
		   label = "正视图";
		}
	   }
	   :column {
		:image_button {
		   key = "flat_c";
		   height = 4;
		   aspect_ratio = 1.7;
	           color = 0;
		}
		:text {
		   label = "侧视图";
		}
	   }
	}
	:toggle {
	   label = "是否用虚线绘出";
	   key = "HIDDENV";
	}
	:row {
	   :button {
	   	label = "返回>";
	   	key = "BACK";
	   }
	   :button {
		label = "看图";
		key = "LOOK";
	   }
	}
	ok_cancel;
     }
  }
}

shssdlg :dialog {
  label = "无头螺丝";
  :row {
     :boxed_row {
	label = "螺丝规格选择";
	:column {
	   :text {
		label = "螺丝类型";
		alignment = centered;
	   }
	   :list_box {
		key = "SETTYP";
		width = 10;
		height = 20;
	   }
	}
	:column {
	   :text {
		label = "螺丝长度";
		alignment = centered;
	   }
	   :list_box {
		key = "SETLEN";
		width = 10;
		height = 20;
	   }
	}
     }
     :column {
	:row {
	   :text {
		label = "序号:";
	   }
	   :edit_box {
		key = "SETITEM";
	   }
	}
	:row {
	   :text {
		label = "规格:";
	   }
	   :edit_box {
		key = "SETSPEC";
	   }
	}
	:boxed_radio_row {
	   label = "公英制选择";
	   :radio_button {
		label = "公制";
		key = "SETM";
	   }
	   :radio_button {
		label = "英制";
		key = "SETB";
		value = 1;
	   }
	}
	:boxed_row {
	   label = "视图选择:";
	   :column {
		:image_button {
		   key = "set_z";
		   height = 4;
		   aspect_ratio = 1.7;
		   color = 0;
		}
		:text {
		   label = "正视图";
		}
	   }
	   :column {
		:image_button {
		   key = "set_c";
		   height = 4;
		   aspect_ratio = 1.7;
	           color = 0;
		}
		:text {
		   label = "侧视图";
		}
	   }
	}
	:toggle {
	   label = "是否用虚线绘出";
	   key = "HIDDENV";
	}
	:row {
	   :button {
	   	label = "返回>";
	   	key = "BACK";
	   }
	   :button {
		label = "看图";
		key = "LOOK";
	   }
	}
	ok_cancel;
     }
  }
}