如题: 下面的代码不能达到要求改变Cursor的要求请问该怎么修改,谢谢!!Self.Cursor:=crHourGlass;
Screen.Cursor:=crHourGlass;
Self.Enabled:=false;
Self.Cursor:=crHourGlass;
Screen.Cursor:=crHourGlass;
Screen.Cursor:=crHourGlass;
Self.Enabled:=false;
Self.Cursor:=crHourGlass;
Screen.Cursor:=crHourGlass;
解决方案 »
- delphi里面的listview怎么改变一行的背景色
- 32位操作系统中写的一个windows服务为什么运行不了?
- 网络断开后,本地的SQL就无法连接,这是为什么?
- 如何取移动硬盘或U盘的序列号?
- 从LISTVIEW向TREEVIEW拖放,谁能给个例子,谢谢!
- 关于TStringGrid问题,我想修改TStringGrid中的某一列,其它列不能修改,这个怎么实现,谢谢!
- 怎样使一个程序只能启动一次?
- 如何使用一个TADOStoredProc控件在程序运行期分别执行不同的存储过程???
- 在Windows 2000中用D5作的程序为什麽在98或windows Me下不能用?高分相送
- DLL中的线程为什么结束以后不能自动引发指定的线程完成处理事件??俺给200分
- 明天去女朋友家,等待她家人的审核,祝福我通过吧!来者有分
- ◆我的疑惑:请问哪个比较节省资源,存储速度比较快??
begin
Panel_client.Enabled := false;
Screen.Cursor := crHourGlass;
end;
object Panel_client: TPanel
Left = 0
Top = 0
Width = 688
Height = 453
Align = alClient
BevelOuter = bvNone
TabOrder = 0原因 Enabled := false 的窗体 捕获鼠标
由windows 处理 鼠标 可以用一个 Align = alClient 的Panel处理The SetCursor function establishes the cursor shape. The cursor is a shared resource. A window should set the cursor shape only when the cursor is in its client area or when the window is capturing mouse input. In systems without a mouse, the window should restore the previous cursor before the cursor leaves the client area or before it relinquishes control to another window.