AutoLISPDCL各种控件
2011-04-08 14:22 精诚所至 金石为开 阅读(1359) 评论(0) 编辑 收藏 举报AutoLISP对话框DCL一共包括23个常用控件和8个固定控件,每种控件属于一种类型,创建一个DCL对话框窗体就是创建各种控件实例的过程,控件是各种属性、事件、方法的集合。
按照各种控件的特点,DCL控件可以分为以下几类。
- 可定义动作行为的控件,例如按钮控件button。
- 组合类控件,例如列表框控件column。
- 装饰类和信息类控件,例如图像控件image。
各种可以自定义动作行为的控件包括button、edit_box、imang_button、list_box、popup_list、radio_button、slider、toggle几种,各个控件属性如下表。
button | edit_box | image_button | list_box | popup_list | radio_button | slider | toggle |
action | action | action | action | action | action | action | action |
alignment | alignment | alignment | alignment | alignment | alignment | alignment | alignment |
allow_accept | allow_accept | allow_accept | |||||
aspect_ratio | |||||||
color | |||||||
big_increment | |||||||
edit_limit | |||||||
edit_width | edit_width | ||||||
fixed_height | fixed_height | fixed_height | fixed_height | fixed_height | fixed_height | fixed_height | fixed_height |
fixed_width | fixed_width | fixed_width | fixed_width | fixed_width | fixed_width | fixed_width | fixed_width |
height | height | height | height | height | height | height | height |
is_cancel | |||||||
is_default | |||||||
is_enabled | is_enabled | is_enabled | is_enabled | is_enabled | is_enabled | is_enabled | |
is_tab_stop | is_tab_stop | is_tab_stop | is_tab_stop | is_tab_stop | is_tab_stop | is_tab_stop | |
key | key | key | key | key | key | key | key |
label | label | label | label | label | label | label | |
list | list | ||||||
layout | |||||||
max_value | |||||||
min_value | |||||||
mnemonic | mnemonic | mnemonic | mnemonic | mnemonic | mnemonic | mnemonic | |
multiple_select | |||||||
small_increment | |||||||
tabs | tabs | ||||||
value | value | value | value | value | value | ||
width | width | width | width | width | width | width | width |
password_char |
组合类控件包括column、boxed_column、radio_column、boxed_radio_column、row、boxed_row、radio_row、boxed_radio_row、dialog几种,各个控件属性如下表。
column | boxed_column | radio_column | boxed_radio_column | row | boxed_row | radio_row | boxed_radio_row |
alignment | alignment | alignment | alignment | alignment | alignment | alignment | alignment |
child_alignment | child_alignment | child_alignment | child_alignment | child_alignment | child_alignment | child_alignment | child_alignment |
child_fixed_height | child_fixed_height | child_fixed_height | child_fixed_height | child_fixed_height | child_fixed_height | child_fixed_height | child_fixed_height |
child_fixed_width | child_fixed_width | child_fixed_width | child_fixed_width | child_fixed_width | child_fixed_width | child_fixed_width | child_fixed_width |
fixed_height | fixed_height | fixed_height | fixed_height | fixed_height | fixed_height | fixed_height | fixed_height |
fixed_width | fixed_width | fixed_width | fixed_width | fixed_width | fixed_width | fixed_width | fixed_width |
height | height | height | height | height | height | height | height |
label | label | label | label | label | label | label | label |
width | width | width | width | width | width | width | width |
装饰和信息类控件主要包括image、text、part_text、spacer、spacer_0、spacer_1、concatenation、paragraph几种,各个控件属性如下表。
iamge | text | part_text | spacer | spacer_0 | spacer_1 | concatenation | paragraph |
alignment | alignment | alignment | alignment | alignment | |||
aspect_radio | |||||||
color | |||||||
fixed_height | fixed_height | fixed_height | |||||
fixed_width | fixed_width | fixed_width | |||||
height | height | height | |||||
is_bold | |||||||
is_enabled | |||||||
is_top_stop | |||||||
key | key | ||||||
lable | lable | ||||||
mnomenic | |||||||
value | |||||||
width | width | width |
这三个表格格式搞死我了快,第二个表格还是没能全部显示。