flex鼠标忙碌
发布时间:2020-12-15 01:16:37 所属栏目:百科 来源:网络整理
导读:在项目中,经常由于访问后台数据量过大,导致响应慢,而前台没有提示,让操作人员误认为请求结束的现象,可以用下列方法解决。见代码:import mx.managers.CursorManager; CursorManager.setBusyCursor(); //忙碌光标 CursorManager.removeBusyCursor(); //
在项目中,经常由于访问后台数据量过大,导致响应慢,而前台没有提示,让操作人员误认为请求结束的现象,可以用下列方法解决。见代码: import mx.managers.CursorManager; CursorManager.setBusyCursor(); //忙碌光标 CursorManager.removeBusyCursor(); //取消忙碌光标 CursorManager.removeAllCursors(); //恢复正常光标 import mx.managers.CursorManager; CursorManager.setBusyCursor(); //忙碌光标 CursorManager.removeBusyCursor(); //取消忙碌光标 CursorManager.removeAllCursors(); //恢复正常光标 Application.application.enabled = false; //页面不可用 Application.application.enabled = true; //页面可用 this.parentApplication.enabled=false; //使当前页面的父页面不可用 this.parentApplication.enabled=true; //使当前页面的父页面可用 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |