声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1312|回复: 2

[GUI界面] 列表框如何分段显示

[复制链接]
发表于 2007-4-7 21:12 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
我要将一些说明的文字写入listbox中
但是要分段显示
不要显示在一行上
怎么弄啊?
回复
分享到:

使用道具 举报

发表于 2007-4-7 21:33 | 显示全部楼层
原帖由 jennychung 于 2007-4-7 21:12 发表
我要将一些说明的文字写入listbox中
但是要分段显示
不要显示在一行上
怎么弄啊?


参见 String 属性:

For multiple items on a list box or pop-up menu, you can specify items as a cell array of strings, a padded string matrix, or within a string vector separated by vertical slash ('|') characters. Use the Value property to set the index of the initial item selected
 楼主| 发表于 2007-4-7 21:35 | 显示全部楼层
搞定
谢拉
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-6-16 01:55 , Processed in 0.049272 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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