carrot1983 发表于 2013-8-2 22:58:45

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

OPENDCL中每个对话框的每个控件都有一个NAME值,有没有办法实现获取所有NAME值,或者是varname值;


Name
Support Forum
Report A Bug


Friendly NameName
API NameName
TypeString
RestrictionsMust be unique within container
Get Functionmk:@MSITStore:C:\Program%20Files%20(x86)\OpenDCL%20Studio\ENU\OpenDCL.chm::/Reference/images/Clipboard.png(dcl_Control_GetName <CONTROL>)
Set FunctionN/A
Applies ToAll 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
Support Forum
Report A Bug




Friendly NameVarName
API NameVarName
TypeString
Restrictions
Get FunctionN/A
Set FunctionN/A
Applies ToAll 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.

页: [1]
查看完整版本: OPENDCL有没有办法获得所有的NAME值?