btldlg :dialog {
   label = "标题栏输入对话框";
   :column {
	:row {
	   :column {
		:text {
		   label = "模具名称:";
		}
		:text {
		   label = "模        号:";
		}
		:text {
		   label = "材        料:";
		}
		:spacer_1{}
		:text {
		   label = "缩  水  率:";
		}
		:text {
		   label = "文件位置:";
		}
		:text {
		   label = "文件编号:";
		}
	   }
	   :column {
		:edit_box {
		   key = "B_NAME";
		   width = 24;
		}
		:edit_box {
		   key = "B_NUM";
		   width = 24;
		}
		:edit_box {
		   key = "B_MAT";
		   width = 24;
		}
		:popup_list {
		   key = "B_MAT_VAL";
		   width = 24;
		}
		:edit_box {
		   key = "B_SHR";
		   width = 24;
		}
		:edit_box {
		   key = "B_FILE";
		   width = 24;
		}
		:edit_box {
		   key = "B_FILENO";
		   width = 24;
		}
	   }
	   :column {
		:text {
		   label = "啤机规格:";
		}
		:text {
		   label = "比    例:";
		}
		:text {
		   label = "单    位:";
		}
		:text {
		   label = "第";
		}
		:text {
		   label = "共";
		}
		:text {
		   label = "版本号:";
		}
		:text {
		   label = "日    期:";
		}
	   }
	   :column {
		:edit_box {
		   key = "B_MACHINE";
		   width = 10;
		}
		:popup_list {
		   key = "B_SC";
		   width = 10;
		}
		:popup_list {
		   key = "B_UNIT";
		   width = 10;
		}
		:edit_box {
		   key = "B_SHF";
		   width = 10;
		}
		:edit_box {
		   key = "B_SH";
		   width = 10;
		}
		:popup_list {
		   key = "B_VER";
		   width = 10;
		}
		:edit_box {
		   key = "B_DATE";
		   width = 10;
		}
	   }
	   :column {
		width = 6;
		:boxed_radio_column {
		   label = "图幅选择";
		   :radio_button {
			label = "A4";
			key = "A4";
		   }
		   :radio_button {
			label = "A3";
			key = "A3";
		   }
		   :radio_button {
			label = "A2";
			key = "A2";
		   }
		   :radio_button {
			label = "A1";
			key = "A1";
		   }
		   :radio_button {
			label = "A0";
			key = "A0";
		   }
		   :radio_button {
			label = "User";
			key = "USER";
		   }
		}
		:toggle {
		   label = "横放";
		   key = "layout";
		   value = 1;
		}
	   }
	}
	:spacer_1{}
	:row {
		ok_cancel;
	}
   }
}

btledit :dialog {
   label = "标题栏编辑对话框";
   :column {
	:row {
	   :column {
		:text {
		   label = "模具名称:";
		}
		:text {
		   label = "模        号:";
		}
		:text {
		   label = "材        料:";
		}
		:spacer_1{}
		:text {
		   label = "缩  水  率:";
		}
		:text {
		   label = "文件位置:";
		}
		:text {
		   label = "文件编号:";
		}
	   }
	   :column {
		:edit_box {
		   key = "B_NAME";
		   width = 24;
		}
		:edit_box {
		   key = "B_NUM";
		   width = 24;
		}
		:edit_box {
		   key = "B_MAT";
		   width = 24;
		}
		:popup_list {
		   key = "B_MAT_VAL";
		   width = 24;
		}
		:edit_box {
		   key = "B_SHR";
		   width = 24;
		}
		:edit_box {
		   key = "B_FILE";
		   width = 24;
		}
		:edit_box {
		   key = "B_FILENO";
		   width = 24;
		}
	   }
	   :column {
		:text {
		   label = "啤机规格:";
		}
		:text {
		   label = "比    例:";
		}
		:text {
		   label = "单    位:";
		}
		:text {
		   label = "第";
		}
		:text {
		   label = "共";
		}
		:text {
		   label = "版本号:";
		}
		:text {
		   label = "日    期:";
		}
	   }
	   :column {
		:edit_box {
		   key = "B_MACHINE";
		   width = 10;
		}
		:popup_list {
		   key = "B_SC";
		   width = 10;
		}
		:popup_list {
		   key = "B_UNIT";
		   width = 10;
		}
		:edit_box {
		   key = "B_SHF";
		   width = 10;
		}
		:edit_box {
		   key = "B_SH";
		   width = 10;
		}
		:popup_list {
		   key = "B_VER";
		   width = 10;
		}
		:edit_box {
		   key = "B_DATE";
		   width = 10;
		}
	   }
	}
	:spacer_1{}
	:row {
	   :button {
		key = "IF_AUTO";
		label = "自动获取文件名及日期>";
		value = 1;
		fixed_width = true;
	   }
		ok_cancel;
	}
   }
}

UserInput :dialog {
  label = "Input Length and Width";
  :row {
    :column {
      :text {
	label = "Length:";
      }
      :text {
	label = "Width  :";
      }
    }
    :column {
      :edit_box {
	width = 12;
	key   = "LEN";
      }
      :edit_box {
	width = 12;
	key   = "WID";
      }
    }
  }
  :spacer { height = 1;}
  :row {
    :spacer { width = 1;}
    :button {
      label = "OK";
      key = "UROK";
      is_default = true;
    }
    :spacer { width = 1;}
  }
}