各位高手,如和动态生成数据窗口

cznxxjf 2003-07-15 05:59:47
动态生成数据窗口时,数据表格已经生成,如何加上表头标题
...全文
91 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
heaven1981 2003-07-15
  • 打赏
  • 举报
回复
ls_text="create text(band=header alignment='1' text='标题' border='0' color='33554432' x='1125' y='7' height='76' width='600' html.valueishtml='0' name=temp2_t visible='1' moveable=1 slideleft=yes slideup=allabove font.face='Arial' font.height='-12' font.weight='400' font.family='2' font.pitch='2' font.charset='0' background.mode='1' background.color='536870912' )"

dw_1.modify("datawindow.Header.Height='260'")
dw_1.modify(ls_text)

klbt 2003-07-15
  • 打赏
  • 举报
回复
如果没有标题文本,动态创建文本。
如果已经有标题文本,用Modify函数修改。
dw_1.Modift("t_1.Text = '" + "我的标题'")

611

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder DataWindow
社区管理员
  • DataWindow社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧