数据窗口中行与行之间拖放问题

justinhust 2004-04-29 04:20:31
如何让拖动的图标变成行的样子,那个大框台难看了,我的拖放程序如下:
dragobject ldrg_object
ldrg_object = draggedobject()

if typeof(ldrg_object) = datawindow! then
if ldrg_object.classname() <> this.classname() then
this.Drag(cancel!)
return
end if
end if

//确定拖动发生在不同行之间
if il_dragedrow = row then return

//移动此行

this.rowsmove(il_dragedrow, il_dragedrow, primary!, this, row, primary!)
this.drag(end!)
...全文
72 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
klbt 2004-04-29
  • 打赏
  • 举报
回复
需要用自己的ico图标
linleming 2004-04-29
  • 打赏
  • 举报
回复
关注一下!

611

社区成员

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

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