- 积分
- 23274
- 明经币
- 个
- 注册时间
- 2018-11-7
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
本帖最后由 1291500406 于 2019-3-17 21:44 编辑
| | | | | button,edit_box,image,image_button,list_box, popup_list,radio_button,slider,toggle | | 控件布局,值:left,centered,right, top,centered,bottom | | | 控件是否相应ENTER键,值:true,false | edit_box,image_button,list_box | | | | | | | | | boxed_column,boxed_radio_column,boxed_radio_row, boxed_row,column,radio_column,radio_row,row | | | 全部控件 | | | 全部控件 | | | | | | | | | | | | 全部控件 | | | 全部控件 | | | | | | | | | | | | | | | | | | | | | button,edit_box,iamge,image_button, list_box,popup_list,radio_button,toggle | | | button,edit_box,iamge,image_button,list_box, popup_list,radio_button,toggle | | | button,edit_box,iamge,image_button,list_box, popup_list,radio_button,slider,text,toggle | | | boxed_column,boxed_radio_column,boxed_radio_row, boxed_row,button,dialog,edit_box,list_box,
popup_list,radio_button,slider,text,text_part,toggle
| | | | | | | | | | | | | | | button,edit_box,image,list_box, popup_list,radio_button,slider,toggle | | | | | | | | | | | | list_box,popup_list | | | list_box,popup_list | | | dialog,edit_box,imange,list_box, popup_list,radio_button,slider,text,toggle | | | | 常用预定义控件包括ok_only,ok_cancel,errtile,ok_cancel_help,ok_cancel_help_errtile,ok_cancel_help_info
例子:
bb:dialog{ }
:spacer { }
:text { }
:text_part{ }
:edit_box { }
:button { }
:toggle{ }
:radio_button{ }
: slider{ }
:popup_list{ }
:list_box { }
:image { }
:image_button{ }
ok_only;
ok_button;
help_button;
cancel_button;
info_button;
ok_cancel;
ok_cancel_help;
ok_cancel_help_info;
ok_cancel_help_errtile;
:row{ }
:column{ }
:boxed_column{ }
:boxed_row{ }
:boxed_radio_row{ }
:boxed_radio_column{ }
:concatenation{ }
spacer_1;
edit_width = 1;
errtile;
width = 1;
height = 1;
fixed_height = true ;
fixed_width = true ;
fixed_width_font=true;
horizontal_margin = none;
vertical_margin = none;
label = 必强MP3;
key =bb;
color = -15 ;
aspect_ratio = 1 ;
alignment=left;
alignment=right;
alignment=centered;
is_cancel = true;
allow_accept = true;
value=50;
min_value = 1;
max_value = 100;
small_increment = 1;
big_increment = 1;
layout=vertical;
| | | | | | | | 第一对齐点(在 OCS 中)
DXF:X 值;APP:三维点 | | DXF:第一对齐点的 Y 值和 Z 值(在 OCS 中) | | | | | | | | X 相对缩放比例宽度(可选;默认值 = 1)
使用拟合类型的文字时,该值也将进行调整。 | | | | | | 文字生成标志(可选;默认值 = 0):
2 = 文字反向(在 X 轴方向镜像)
4 = 文字倒置(在 Y 轴方向镜像) | | 文字水平对正类型(可选;默认值 = 0)整数代码(非按位编码)
0 = 左对正;1 = 居中对正;2 = 右对正
3 = 对齐(如果垂直对齐 = 0)
4 = 中间(如果垂直对齐 = 0)
5 = 拟合(如果垂直对齐 = 0)
详细信息请参见组 72 和 73 整数代码表 | | 第二对齐点(在 OCS 中)(可选)
DXF:X 值;APP:三维点
只有当 72 或 73 组的值非零时,该值才有意义(如果对正不是基线对正/左对正) | | DXF:第二对齐点的 Y 值和 Z 值(在 OCS 中)(可选) | | 拉伸方向(可选;默认值 = 0, 0, 1)
DXF:X 值;APP:三维矢量 | | | | | | 文字垂直对正类型(可选;默认值 = 0):整数代码(非按位编码):
0 = 基线对正;1 = 底端对正;2 = 居中对正;3 = 顶端对正
详细信息请参见组 72 和 73 整数代码表 |
下表详细说明了组码 72(水平对齐)和组码 73(垂直对齐)。
(if (and (= (cdr (assoc 72 ent)) 0) (= (cdr (assoc 73 ent)) 0) )
(entmod (setq ent (subst(cons 10 pt)(assoc 10 ent)ent))) (entmod (setq ent (subst(cons 11 pt)(assoc 11 ent)ent))))
|
|