各从大哥如何在拖拽时改变鼠标的图标形状。(50分)

  • 主题发起人 主题发起人 delphiplayer
  • 开始时间 开始时间
D

delphiplayer

Unregistered / Unconfirmed
GUEST, unregistred user!
各从大哥如何在拖拽时改变鼠标的图标形状。
如在:StartDrag 事件写入screen.cursors:=loadcursorfromfile('c:/1.ico');
只能在鼠标弹起时才改变,能不能在鼠标按下时就改变?
 
你可以在 MOUSEDOWN事件时就写入:
screen.cursors:=loadcursorfromfile('c:/1.ico');
 
还是一样,只能在鼠标弹起时才改变,能不能在鼠标按下时就改变? 而且要在create处写上[screen.cursors[0]:=loadcursorfromfile('c:/1.ico');才可以。
 
后退
顶部