明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1495|回复: 0

[OpenDCL] OPENDCL有没有办法获得所有的NAME值?

[复制链接]
发表于 2013-8-2 22:58:45 | 显示全部楼层 |阅读模式
OPENDCL中每个对话框的每个控件都有一个NAME值,有没有办法实现获取所有NAME值,或者是varname值;

Name

Friendly Name
Name
API Name
Name
Type
String
Restrictions
Must be unique within container
Get Function
(dcl_Control_GetName <CONTROL>)
Set Function
N/A
Applies To
All Controls and Forms
Every form in a project, and every control on a form must have a unique name. When a new control is added to a form, it is assigned an automatically generated unique name, however the name may be changed to something more meaningful if desired.


VarName



Friendly Name
VarName
API Name
VarName
Type
String
Restrictions
Get Function
N/A
Set Function
N/A
Applies To
All Controls and Forms
When an instance of a form or control is created, OpenDCL sets the value of an AutoLISP variable to a handle for the control. This handle can be used as a reference to the control when calling OpenDCL functions. If the VarName property is not empty, its value is used as the AutoLISP variable name. If the VarName property is empty, the AutoLISP variable name is generated automatically in the form <project-key>_<form-name>_<control-name> to ensure a unique symbol name.

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-19 02:35 , Processed in 0.146317 second(s), 27 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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