代码如下
PointSetupFrm.Cursor:=crHourGlass;
PointSetupFrm.Enabled:=false;
WaitDlgFrm:=TWaitDlgFrm.Create(Self);
WaitDlgFrm.Show;
Exit;
PointSetupFrm.Cursor:=crHourGlass;
PointSetupFrm.Enabled:=false;
WaitDlgFrm:=TWaitDlgFrm.Create(Self);
WaitDlgFrm.Show;
Exit;
Cursor := crMyCursor;//指定 form1 的 cursor 为自订鼠标
Button1.Cursor := crMyCursor;//指定Button1的cursor为自订鼠标
...
...
...
screen.cursor:=crdefault;