明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1548|回复: 1

dcl控件如何显示变量

[复制链接]
发表于 2004-3-10 19:29:00 | 显示全部楼层 |阅读模式
再对话框设计dcl程序中写         value=abc; 其中abc 为lisp程序的全局变量 ,value并不能显示abc的值,而是显示字母abc,请问如何让控件的值显示某一变量。
发表于 2004-3-10 19:41:00 | 显示全部楼层

value = "string";

Specifies the initial value of a tile. Possible value is a quoted string. The meaning of a tile's value varies depending on the kind of tile. The value of a tile can change at runtime through user input or set_tile calls.

The value attribute of a tile is not considered when the dialog box is laid out. After the layout is finished and the dialog box has been displayed, new_dialog uses the value attributes to initialize each tile in the dialog box. A tile's value attribute has no effect on the size or spacing of tiles in the dialog box.

只能运行时通过Set_tile来设定,如

(set_tile "keyname" (rtos abc))

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

本版积分规则

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

GMT+8, 2024-10-1 21:35 , Processed in 0.171889 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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