AutoLISPDCL各种控件

AutoLISP对话框DCL一共包括23个常用控件和8个固定控件,每种控件属于一种类型,创建一个DCL对话框窗体就是创建各种控件实例的过程,控件是各种属性、事件、方法的集合。

按照各种控件的特点,DCL控件可以分为以下几类。

  1. 可定义动作行为的控件,例如按钮控件button。
  2. 组合类控件,例如列表框控件column。
  3. 装饰类和信息类控件,例如图像控件image。

各种可以自定义动作行为的控件包括button、edit_box、imang_button、list_box、popup_list、radio_button、slider、toggle几种,各个控件属性如下表。

buttonedit_boximage_buttonlist_boxpopup_listradio_buttonslidertoggle
actionactionactionactionactionactionactionaction
alignmentalignmentalignmentalignmentalignmentalignmentalignmentalignment
 allow_acceptallow_acceptallow_accept    
  aspect_ratio     
  color     
      big_increment 
 edit_limit      
 edit_width  edit_width   
fixed_heightfixed_heightfixed_heightfixed_heightfixed_heightfixed_heightfixed_heightfixed_height
fixed_widthfixed_widthfixed_widthfixed_widthfixed_widthfixed_widthfixed_widthfixed_width
heightheightheightheightheightheightheightheight
is_cancel       
is_default       
is_enabledis_enabledis_enabledis_enabledis_enabledis_enabled is_enabled
is_tab_stopis_tab_stopis_tab_stopis_tab_stopis_tab_stopis_tab_stop is_tab_stop
keykeykeykeykeykeykeykey
labellabel labellabellabellabellabel
   listlist   
     layout  
     max_value  
     min_value  
mnemonicmnemonicmnemonicmnemonicmnemonicmnemonicmnemonic 
   multiple_select    
      small_increment 
   tabstabs   
 value valuevaluevaluevaluevalue
widthwidthwidthwidthwidthwidthwidthwidth
 password_char      

 

组合类控件包括column、boxed_column、radio_column、boxed_radio_column、row、boxed_row、radio_row、boxed_radio_row、dialog几种,各个控件属性如下表。

columnboxed_columnradio_columnboxed_radio_columnrowboxed_rowradio_rowboxed_radio_row
alignmentalignmentalignmentalignmentalignmentalignmentalignmentalignment
child_alignmentchild_alignmentchild_alignmentchild_alignmentchild_alignmentchild_alignmentchild_alignmentchild_alignment
child_fixed_heightchild_fixed_heightchild_fixed_heightchild_fixed_heightchild_fixed_heightchild_fixed_heightchild_fixed_heightchild_fixed_height
child_fixed_widthchild_fixed_widthchild_fixed_widthchild_fixed_widthchild_fixed_widthchild_fixed_widthchild_fixed_widthchild_fixed_width
fixed_heightfixed_heightfixed_heightfixed_heightfixed_heightfixed_heightfixed_heightfixed_height
fixed_widthfixed_widthfixed_widthfixed_widthfixed_widthfixed_widthfixed_widthfixed_width
heightheightheightheightheightheightheightheight
labellabellabellabellabellabellabellabel
widthwidthwidthwidthwidthwidthwidthwidth

 

装饰和信息类控件主要包括image、text、part_text、spacer、spacer_0、spacer_1、concatenation、paragraph几种,各个控件属性如下表。

iamgetextpart_textspacerspacer_0spacer_1concatenationparagraph
alignmentalignment alignmentalignmentalignment  
aspect_radio       
color       
fixed_heightfixed_height fixed_height    
fixed_widthfixed_width fixed_width    
heightheight height    
 is_bold      
is_enabled       
is_top_stop       
keykey      
 lablelable     
mnomenic       
 value      
widthwidthwidth     

 

这三个表格格式搞死我了快,第二个表格还是没能全部显示。

  • 3
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值