明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 982|回复: 2

[讨论] 请大师看看,这段代码如何出错了?

[复制链接]
发表于 2011-7-5 08:43:12 | 显示全部楼层 |阅读模式
mtext:text{fixed_width=true;horizontal_margin=none;vertical_margin=none;}radio_buton:radio_button{horizontal_margin=none;vertical_margin=none;}buton:button{horizontal_margin=none;vertical_margin=none;edit_width=2;}edt_box:edit_box{fixed_width=true;horizontal_margin=none;vertical_margin=none;}list:popup_list{fixed_width=true;horizontal_margin=none;vertical_margin=none;}togle:toggle{fixed_width=true;horizontal_margin=none;vertical_margin=none;}mm:dialog{label="暗藏灯槽绘制";:image{fixed_width=true;fixed_height=true;horizontal_margin=none;vertical_margin=none;color = -2;key ="rhgh_image";width =34;height=13;}
:row{:column{:column{label ="类型";:radio_buton{label="单级(&D)";key="a";}:radio_buton{label="双级(&S)";key="b";}:radio_buton{label="靠墙(&A)";key="c";}}:togle{label="材料(&F)";key="CL";}:togle{label="龙骨(&C)";key="LG";}//:togle{label="含套(&C)";key="ht";}
}:column{
:column{:row{:mtext{label ="图层";fixed_width=true;}:list{key="lay";edit_width=14;}}:row{:mtext{label ="槽深";}:edt_box{key="x1";}:list{key ="x1_lst";edit_width=4;}}
:row{:mtext{label ="档板";}:edt_box{key="x2";}:list{key ="x2_lst";edit_width=4;}}:row{:mtext{label ="跌级";}:edt_box{key="x3";}:list{key ="x3_lst";edit_width=4;}}
:row{:mtext{label ="空隙";}:edt_box{key="x4";}:list{key ="x4_lst";edit_width=4;}}
}}}spacer_1;:row{:buton{label="确定(&A)";key ="accept";is_accept= true;}:buton{label="取消";key ="cancel";is_cancel = true;}:buton{label="默认";key ="del";is_cancel = true;}}}





提示

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2011-7-5 11:54:14 | 显示全部楼层
你重定义了那么多的内容,有何用?

  1. dcl_settings:default_dcl_settings{audit_level=3;}
  2. mm:dialog{
  3. label="暗藏灯槽绘制";
  4. :image{
  5. //  fixed_width=true;
  6. //  fixed_height=true;
  7. //  horizontal_margin=none;
  8. //  vertical_margin=none;
  9.   color=-2;
  10.   key="rhgh_image";
  11.   width=34;
  12.   height=13;
  13. }
  14. :row{
  15.   :column{
  16.    :radio_column{
  17.     key="lx";
  18.     :radio_button{label="单级(&D)";key="a";}
  19.     :radio_button{label="双级(&S)";key="b";}
  20.     :radio_button{label="靠墙(&A)";key="c";}
  21.    }
  22.    :toggle{label="材料(&F)";key="CL";}
  23.    :toggle{label="龙骨(&C)";key="LG";}
  24.    //:togle{label="含套(&C)";key="ht";}
  25.   }
  26.   :column{
  27.    :row{
  28.     :text{label="图层";fixed_width=true;}
  29.     :popup_list{key="lay";edit_width=14;}
  30.    }
  31.    :row{
  32.     :edit_box{label ="槽深";key="x1";}
  33.     :popup_list{key ="x1_lst";edit_width=6;}
  34.    }
  35.    :row{
  36.     :edit_box{label="档板";key="x2";}
  37.     :popup_list{key="x2_lst";edit_width=6;}
  38.    }
  39.    :row{
  40.     :edit_box{label="跌级";key="x3";}
  41.     :popup_list{key="x3_lst";edit_width=6;}
  42.    }
  43.    :row{
  44.     :edit_box{label="空隙";key="x4";}
  45.     :popup_list{key="x4_lst";edit_width=6;}
  46.    }
  47.   }
  48. }
  49. spacer_1;
  50. :row{
  51.   :button{label="确定(&A)";key="accept";is_default=true;}
  52.   :button{label="取消";key="cancel";is_cancel=true;}
  53. }
  54. }
发表于 2011-7-5 12:16:22 | 显示全部楼层
回复 qcmyscbzk 的帖子

发上lsp源码!~~分享一下!~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2025-6-11 06:23 , Processed in 0.184723 second(s), 27 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表