这样写错在那里??

lmcsdn 2004-11-28 11:21:31


integer li_maxcol ,i
string ls_column

li_maxcol = integer(this.o b j e c t.DataWindow.Column.Count)

for i = 1 to li_maxcol
if this.Describe("#"+string(i)+".Visible") = '1' then
ls_column = this.Describe("#"+string(i)+".Name") //列名
this.Modify(ls_column + ".color='" + "0~tif(currentRow()=getrow(),16777215,8388608)'")
this.Modify(ls_column + ".background.color=" + "536870912~tif(currentRow() = getrow(),8388608,16777215)")
end if
next

当鼠标移动到该行时候
我想改变该列的 属性 Font 中 .background.color ,但不知道怎么不行的??
...全文
34 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

611

社区成员

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

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