AutoCADDCL对话框设计示例九,代码如下。
dcl:dialog {
label = "第九个DCL设计" ;
:boxed_row {
label = "颜色按钮" ;
color_palette_1_7;
}
:row {
:image {
aspect_ratio = 0.66 ;
color = 1 ;
width = 12 ;
}
:image {
aspect_ratio = 0.66 ;
color = 2 ;
width = 12 ;
}
:image {
aspect_ratio = 0.66 ;
color = 3 ;
width = 12 ;
}
}
spacer_1;
ok_cancel;
}
代码完。