起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 482|回复: 26

【结贴】为什么从2401升级到2936的点开某个功能在取数据时的漏斗怎么没有了?**

[复制链接]
发表于 2008-5-19 16:16:24 | 显示全部楼层 |阅读模式
为什么从2401升级到2936的点开某个功能在取数据时的漏斗怎么没有了?现在的感觉很不舒服,不知道的以为程序死掉,又去点击一次,这个问题怎么解决啊,急着啊啊
回复

使用道具 举报

发表于 2008-5-19 16:35:41 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-20 18:09:29 | 显示全部楼层
上楼说的的帖子中的第10楼的
No.10  
在系统核心库中InternalRunFunc中增加Forms.Screen.Cursor := Business.Forms.Controls.crHourGlass;
在Application的OnIdle事件增加Forms.Screen.Cursor := Business.Forms.Controls.crDefault;暂时解决

其中的Application的OnIdle事件增加Forms.Screen.Cursor := Business.Forms.Controls.crDefault;暂时解决
是在那个地方啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-20 18:10:34 | 显示全部楼层
这个问题请尽快帮忙我们解决
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-20 18:21:54 | 显示全部楼层
通过电话沟通,程序员看了,还是不明白这个应该是加在哪里,应该怎么增加,请写的明白一些。
回复 支持 反对

使用道具 举报

发表于 2008-5-20 18:27:33 | 显示全部楼层
可以为系统的Application.OnIdle事件赋值,
具体请参考delphi帮助:
TApplication.OnIdle

Occurs when an application becomes idle.

type TIdleEvent = procedure (Sender: TObject; var Done: Boolean) of object;
property OnIdle: TIdleEvent;

Description

Write an OnIdle event handler to perform special processing when an application is idle. An application is idle when it is not processing code. For example, an application is idle when it is waiting for input from the user.

The TIdleEvent type is the type of the OnIdle event. TIdleEvent has a Boolean parameter Done that is True by default. When Done is True, the application allows all action components to update themselves after the OnIdle event handler returns. After updating the actions, the application calls the Windows API WaitMessage, which yields control to other applications until a new message appears in the message queue of the application. When Done is False, the application actions do not receive an OnUpdate event and the application does not yield control to other applications while it is not busy.

OnIdle is called only once, as the application transitions into an idle state. It is not called continuously unless Done is set to False. Applications that set Done to False consume an inordinate amount of CPU time, which affects overall system performance.

Note:        You can also respond to this event using the TApplicationEvents component, which allows you to assign an event handler using the IDE.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-21 10:26:45 | 显示全部楼层
不懂也,2401版本都有这个特性,这么好的东西为什么要去掉啊,写出来吧,
回复 支持 反对

使用道具 举报

发表于 2008-5-21 11:43:48 | 显示全部楼层
楼主,
1、你在系统主窗体里,声明一个过程,用来将鼠标光标恢复成箭头
procedure (Sender: TObject; var Done: Boolean) of object;
类似这样的格式声明

2、然后在窗体的构造函数里,为全局对象Application的OnIdle事件赋值(就是1里声明的过程)就可以了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-22 11:55:25 | 显示全部楼层
能不能具体的实现鼠标变换为漏斗的方法直接清楚呢,我复制上去就好,我不是专职开发,不懂,脑子的转速不高也,帮忙哦,2401版本的好东西就不要去掉啊,拜托,写好贴出来吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-22 14:31:09 | 显示全部楼层
我顶顶,谁帮忙弄下啊
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2025-7-21 16:05 , Processed in 0.045667 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表