社区
Delphi
帖子详情
高手请: GridCell DisPlay String,Memo
OutS
2003-12-08 05:59:15
请教用一个Grid来显示String和Memo,像下面:(要源码)
Grid:
┌────┬─────────┐
│ String1│ Memo(1Line) │
├────┼─────────┤
│ String2│ Memo(Line1) │
│ │ (Line2) │
└────┴─────────┘
最好不用第三方控件.
...全文
29
4
打赏
收藏
高手请: GridCell DisPlay String,Memo
请教用一个Grid来显示String和Memo,像下面:(要源码) Grid: ┌────┬─────────┐ │ String1│ Memo(1Line) │ ├────┼─────────┤ │ String2│ Memo(Line1) │ │ │ (Line2) │ └────┴─────────┘ 最好不用第三方控件.
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
w1w2w3w4
2003-12-09
打赏
举报
回复
在stringgrid的ondrawcell中用drawtext, format里含有DT_WORDBREAK就可以自动回行.
drawtext(stringgrid1.canvas.handle,pchar(string1.text),length(string1.text),rect,DT_WORDBREAK or DT_LEFT);
OutS
2003-12-08
打赏
举报
回复
我是想把Edit1,Memo1的内容asign到Grid里面去.
delphi2java
2003-12-08
打赏
举报
回复
用这个:'abc'+#13#10+'defg'
Cipherliu
2003-12-08
打赏
举报
回复
stringgrid本身不能显示回行的内容
当然也有办法,就是在它的重汇事件中,画图画上去`
这个我试过,可以的.最好是自己新做一个控件
TMS Pack for FireMonkey2.3.0.1
Fixed : Issue with XE2 FMI package
memo
registration v2.0.1.1 Fixed : Issue with height of tabs in TTMSFMXNavBar v2.0.2.0 New : OnButtonClick event in TTMSFMXEditBtn Fixed : Issue with fixed ...
WPTools.v6.29.1.Pro
+ to load old Hiedit templates as RTF code use the format
string
-HiEditFields. This will create merge fields for ALL fields. - NL sign was not shown right after CTRL+ENTER was pressed (requires ShowNL...
tdb
grid
_在Delphi的TDB
Grid
中显示和编辑
MEMO
字段
If you are developing database applications with tables containing
MEMO
fields, you'll notice that, by default, the TDB
Grid
component does not show the contents of a
MEMO
field inside a DBGri...
wx.
grid
.
Grid
# -*- coding: cp936 -*- ...import wx.
grid
import wx.lib.
grid
movers as
grid
movers import pymssql connect=pymssql.connect(host='wxpython',user='sa',password='',database='THIS4_0807') ...
UniGUI 之UniDB
Grid
.
Grid
Lotacao .x-
grid
-column {/*带元素id的属性(设置栏),在unidb
grid
中的layoutconfig属性中的cls子属性中加入
Grid
Lotacao名称*/.
Grid
Lotacao .x-
grid
-
cell
{/*带元素id的属性(设置单元格),在unidb
grid
中的...
Delphi
5,388
社区成员
262,730
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章