CAD开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

AutoCAD 文档中心

切片参考 (DCL) 的预定义属性

2023-1-7 11:42| 发布者: admin| 查看: 251| 评论: 0|来自: AutoCAD

摘要: 用于设置磁贴和对话框定义的外观和行为的属性列表。

用于设置磁贴和对话框定义的外观和行为的属性列表。

本节列出了 PDB 功能定义的属性。下表按字母顺序汇总了预定义的属性。关于用户定义的属性 (DCL) 中详细介绍了这些属性。

预定义属性

属性名称

关联于

含义(如果指定或为真)

行动

所有活动磁贴

AutoLISP 操作表达式

对准

所有磁贴

群集中的水平或垂直位置

allow_accept

edit_box、image_button list_box

选择此磁贴时激活is_default按钮

注意:Mac OS 上的“edit_box”磁贴不支持此属性。

aspect_ratio

图像, image_button

图像的纵横比

big_increment

滑 块

移动距离增加

注意:仅在 Windows 上受支持。

children_alignment

行、列、radio_row、radio_column、boxed_row、boxed_column、boxed_radio_row、boxed_radio_column

群集子项的对齐

children_fixed_height

行、列、radio_row、radio_column、boxed_row、boxed_column、boxed_radio_row、boxed_radio_column

群集子项的高度在布局期间不会增长

children_fixed_width

行、列、radio_row、radio_column、boxed_row、boxed_column、boxed_radio_row、boxed_radio_column

群集子项的宽度在布局期间不会增长

颜色

图像, image_button

图像的背景(填充)颜色

edit_limit

edit_box

用户可以输入的最大字符数

注意:仅在 Windows 上受支持。

edit_width

edit_box, popup_list

磁贴的编辑(输入)部分的宽度

fixed_height

所有磁贴

布局过程中高度不会增长

fixed_width

所有磁贴

布局期间宽度不会增加

fixed_width_font

list_box, popup_list

以固定间距字体显示文本

注意:仅在 Windows 上受支持。

高度

所有磁贴

磁贴的高度

initial_focus

对话

具有初始焦点的磁贴的键

注意:仅在 Windows 上受支持。

is_bold

发短信

显示为粗体

is_cancel

按钮

按下取消键(通常为 ESC)时激活按钮

is_default

按钮

按下接受键(通常为 ENTER)时激活按钮

is_enabled

All active tiles

Tile is initially enabled

is_tab_stop

All active tiles

Tile is a tab stop

Note: Supported on Windows only.

key

All active tiles

Tile name used by the application

label

boxed_row, boxed_column, boxed_radio_row, boxed_radio_column, button, dialog, edit_box, list_box, popup_list, radio_button, text, toggle

Displayed label of the tile

layout

slider

Whether the slider is horizontal or vertical

list

list_box, popup_list

Initial values to display in list

max_value

滑 块

滑块的最大值

min_value

滑 块

滑块的最小值

记忆

所有活动磁贴

磁贴的助记符

注意:仅在 Windows 上受支持。

multiple_select

list_box

列表框允许选择多个项目

password_char

edit_box

屏蔽在edit_box中输入的字符

small_increment

滑 块

移动距离增加

制表符

list_box, popup_list

列表显示的制表位

tab_truncate

list_box, popup_list

截断大于关联制表位的文本

注意:仅在 Windows 上受支持。

价值

文本、活动磁贴(按钮和图像按钮除外)

磁贴的初始值

宽度

所有磁贴

磁贴的宽度


路过

雷人

握手

鲜花

鸡蛋

最新评论

QQ|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 )

GMT+8, 2024-5-19 13:11

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部