明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1957|回复: 2

[求助]DCL中多行文本框如何实现

[复制链接]
发表于 2010-6-7 15:39:00 | 显示全部楼层 |阅读模式

AutoCAD DCL中,EDIT_BOXED是否支持类似Windows界面中的多行文本编辑框?

现在我只能用list代替edit_box显示多行内容,但是编辑时没有能输入多行文字的控制。

 

发表于 2010-6-8 00:48:00 | 显示全部楼层

autolisp没有

你可以试试doslib函数库里提供的函数

或者opendcl

发表于 2010-6-8 09:31:00 | 显示全部楼层

(acet-ui-txted [text [caption [note]]])

Display a multi-line text editing dialog.

Arguments

text If provided, a text string to be displayed as the initial contents. Lines can be separated with "\r\n" sequences.
caption If provided, text to be used as the dialog caption.
note If provided, an additional text string to be displayed above the text editing control.

Return Values

A string containing the text contents if the user presses the OK button, or nil if the user presses the Cancel button.

Library: acetutil.arx

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

本版积分规则

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

GMT+8, 2024-10-2 03:30 , Processed in 0.196936 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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