是下面一个 小程序 预览的时候出现的!程序提示语意错误。程序本身并不重要,我想问的是有没有什么比较好的学习DCL语言的资料 书籍? 谢谢
main_dlg:dialog{ label= "确定螺钉种类:" ; :row{ :boxed_column{label= "选择螺钉种类:" ; :row{ :image_button{ color=-2 ; width=15 ; aspect_ratio=0.66 ; key= "screw_0" ; } :image_button{ color=-2 ; width=15 ; aspect_ratio=0.66 ; key= "screw_1" ; } } :row{ :image_button{ color=-2 ; width=15; aspect_ratio=0.66; key="screw_2"; } :image_button{ color=-2 ; width=15; aspect_ratio=0.66; key="screw_3"; } }} :list_box{label= "螺钉种类" ; list= "GB/T65-2000\nGB/T68-2000\nGB/T5780-2000\nGB/T70.1-2000" ; key= "s_type" ; width=15 ; fixed_width=true ;} } :row{ spacer_1 ; :button{label= "继续" ; key= "accept" ; is_default=true ; fixed_width=true ;} :button{label= "退出" ; key= "cancel" ; fixed_width=true ;} spacer_1 ; } }
children_dlg:dialog{ label="确定螺钉参数"; :row{ :image{color = -2; width=22; aspect_ratio=0.6; key="id_img"; } :list_box{label ="螺钉大径&D"; key="s_d"; edit_width=5; height=8; list ="M1.6\nM2\nM2.5\nM3\nM4\nM5\nM6\nM8\nM10\nM12\nM14\nM16\nM20"; fixed_height=true; } :list_box{label ="螺钉大径&L"; key="s_l"; edit_width=5; height=8; list ="2\n2.5\n3\n4\n5\n6\n8\n10\n12\n14\n16\n20\n25\n30\n35\n40\n45\n50\n"; fixed_height=true; } } :row{ :column{ :boxed_column{label="定位点"; :edit_box{label="定位点&x坐标:"; key="p_x"; edit_width=8; value="150";} :edit_box{label="定位点&y坐标:"; key="p_y"; edit_width=8; value="100";} :button{label="光标拾取<"; key="p_p"; } } :boxed_column{label="旋转角"; :edit_box{label="&angle:"; key="alf"; edit_width=8; value="0";} ok_cancel; } //第一列结束 :column{ :boxed_column{ :toggle{label="自定义尺寸"; key="user_dim"; value="0";} :edit_box{label="自定义大径&d:"; key="user_d"; edit_width=8; value="10";} :edit_box{label="自定义长度&l:"; key="user_l"; edit_width=8; value="50";} :boxed_column{ //第二个加框列,该列有一个切换开关和三个行 :toggle{label="绘制中心线"; key="cenline"; value=1;} :row{ :text{value="细实线颜色:"; :image_button{color=4; height=2; key="tcolor"; } } } :row{ :text{value="粗实线颜色:"; :image_button{color=5; height=2; key="scolor"; } } } } } } } } }//子对话框children_dlg结束
|