社区
DataWindow
帖子详情
请高手:如何在datawindow中动态插入text控件?
dxai
2004-11-24 10:50:22
如何在程序的运行中动态插入text控件到datawindow中,就像在设计时insert-->contrl-->text进的效果.
...全文
88
6
打赏
收藏
请高手:如何在datawindow中动态插入text控件?
如何在程序的运行中动态插入text控件到datawindow中,就像在设计时insert-->contrl-->text进的效果.
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
WorldMobile
2004-11-24
打赏
举报
回复
呵呵,即可实现动态创建文本
WorldMobile
2004-11-24
打赏
举报
回复
string ls_create, ls_error
//船舶选择
ls_create += 'create text(band=detail alignment="2" text="测试信息" '
ls_create += 'border="2" color="33554432" '
ls_create += 'x="4" y="4" height="4" '
ls_create += 'width="4" '
ls_create += 'html.valueishtml="0" name=tsh_select visible="0" '
ls_create += 'font.face="宋体" font.height="-9" font.weight="400" font.family="2" '
ls_create += 'font.pitch="2" font.charset="0" background.mode="2" tag = ""'
ls_create += 'background.color="' + string(rgb(255, 0, 255)) + '") '
ls_error = dw_1.modify(ls_create)
WorldMobile
2004-11-24
打赏
举报
回复
visible是个0还是显示不出来,再改一下
string ls_create, ls_error
ls_create += 'create text(band=detail alignment="2" text="测试信息" '
ls_create += 'border="2" color="33554432" '
ls_create += 'x="4" y="4" height="2000" '
ls_create += 'width="3000" '
ls_create += 'html.valueishtml="0" name=tsh_select visible="1" '
ls_create += 'font.face="宋体" font.height="-9" font.weight="400" font.family="2" '
ls_create += 'font.pitch="2" font.charset="0" background.mode="2" tag = ""'
ls_create += 'background.color="' + string(rgb(255, 0, 255)) + '") '
ls_error = dw_1.modify(ls_create)
dw_1.insertrow(0)
WorldMobile
2004-11-24
打赏
举报
回复
你再试一下,不好意思,刚发现这个问题,如果不行,你找我,帮你搞定
WorldMobile
2004-11-24
打赏
举报
回复
不好意思,宽度和高度太小了,可能看不到效果,改一下
string ls_create, ls_error
//船舶选择
ls_create += 'create text(band=detail alignment="2" text="测试信息" '
ls_create += 'border="2" color="33554432" '
ls_create += 'x="4" y="4" height="2000" '
ls_create += 'width="3000" '
ls_create += 'html.valueishtml="0" name=tsh_select visible="0" '
ls_create += 'font.face="宋体" font.height="-9" font.weight="400" font.family="2" '
ls_create += 'font.pitch="2" font.charset="0" background.mode="2" tag = ""'
ls_create += 'background.color="' + string(rgb(255, 0, 255)) + '") '
ls_error = dw_1.modify(ls_create)
dxai
2004-11-24
打赏
举报
回复
哦...
PB调用barcodex
控件
打印条码案例源码
PB调用barcodex
控件
打印条码案例源码,自己写的网上找不到的
数据窗口
中
(freeform)
中
动态
创建
控件
数据窗口
中
(freeform)
中
动态
创建
控件
,如line,picture,
text
,ole等
控件
PB 11.5 数据窗口计算列显示图片的方法
PB 11.5 数据窗口计算列显示图片的方法,完整实例。
pb 11 webfrom 文本编辑测试
pb 11 webfrom 利用rtf
控件
,对大文本编辑测试
pb_
data
base.rar_pb
data
base_pb_
data
base_pb数据库
本人用PB做的数据库相关的程序,其
中
包括数据库的输入查找删除等内容,初步接触PB的可以参考借鉴
DataWindow
611
社区成员
20,469
社区内容
发帖
与我相关
我的任务
DataWindow
PowerBuilder DataWindow
复制链接
扫一扫
分享
社区描述
PowerBuilder DataWindow
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章