AutoCADDCL对话框设计示例五,代码如下。
dcl:dialog {
label = "第五个DCL设计" ;
:text {
alignment = centered ;
label = "这是一个文本框" ;
}
:row {
:edit_box {
edit_width = 10 ;
label = "图名:" ;
}
:edit_box {
edit_width = 10 ;
label = "日期:" ;
}
}
:boxed_radio_row {
alignment = centered ;
label = "设计者" ;
:radio_button {
label = "月光宝盒" ;
}
:radio_button {
label = "仙履奇缘" ;
}
:radio_button {
label = "大圣娶亲" ;
value = "1" ;
}
}
spacer_1;
ok_cancel;
}
代码完。