问题标签 [busyindicator]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
silverlight - Silverlight 工具包命名空间“有时”未知
我使用BusyIndicator
SL Toolkit 5 中的控件ChildWindow
。
在某些解决方案中,它可以工作,但在其他解决方案中,使用完全相同的代码(至少看起来如此),我在运行时,在解析我的ChildWindow
XAML 期间收到以下异常:
找不到“BusyIndicator”类型,因为“http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit”是未知命名空间。[行:59 位置:44]
有时它怎么可能起作用?我浏览了一些论坛并阅读了一些解决方案(清理Bin
和Obj
文件夹什么也没做),但到目前为止没有任何效果。
如果我BusyIndicator
在代码隐藏中创建我的,一切正常。
有人有想法吗?
谢谢。
silverlight - Silverlight BusyIndicator:比所有 ChildWindows 都高的 Z-Index
也许标题措辞不正确。
只要在 ChildWindow 打开时我不尝试使用它,我就有一个“全局”忙碌指示器,效果很好。
我使用 App.xaml.cs 中的静态方法访问“全局”忙碌指示器:
但是,如果 ChildWindow 打开,BusyIndicator 总是在它后面。
我以为我可以设置b.Content = VisualTreeHelper.GetOpenPopups().First()
,但这也不起作用。
有没有人有关于在打开的 ChildWindows 之上使用 BusyIndicator 的任何提示?
提前致谢。
更新(解决方案)
Dave S 让我走上了正轨。它比我希望的要复杂,但这是我的解决方案。
首先,我必须为 ChildWindow 制作一个完整的样式,复制所有的 Template 样式(由于后期大小的原因而遗漏了一些):
然后,我创建了我的基类;注意构造函数设置样式。(如果我试图使其抽象,就会发生错误。)
确保添加一个新的 ChildWindow,并将 <controls:ChildWindow 更改为 <gs:MyChildWindow(与代码隐藏相同)。
最后,更新静态 SetBusyIndicator 方法:
我不确定这是最有效的,但它似乎工作得很好。
image - Flex Mobile feedback while loading images
i got some spark image components in my app with embedded src. if the view will pushed to the stage, the images begins to load ... and while the loading progress... i cant show an busyindicator because the thread is loading... flash couldn't animate the busyindicator and load images at the same time :-(
how can i resolve that problem? I know air/flash is single treaded :-/ i don't understand the sense of a busyindicator.. because it won't work while loading :-(
A BusyIndicator is a component to show activity...
c# - 如何检查 Windows 当前是否显示忙碌光标?
我知道如何设置当前光标,但是如果 Windows 显示忙光标,我该如何检查操作系统级别?否则,如何检查 Windows 是否处于“忙碌”状态?
c# - Showing busy indicator control inside a UI
I have modified code, but now I have another problem. The InvalidOperation exception occurs inside if statement on validating user info. It says that the calling thread cannot access this object because a different thread owns it.Any sugestions?
java-me - J2ME 中的活动指示器
当我执行一些网络活动(HTTP 请求和 XML 解析)时,我希望在 J2ME 中显示一个活动指示器。我已经看到仪表变成了活动指标:
但这不会使后面的视图变暗,也不会覆盖视图。请让我知道您对此的建议。
wpf - 加载 XAML 时繁忙指示器没有响应
我有一个 WPF 应用程序,它具有带有大型数据绑定的复杂 UI。我正在使用 WCF 异步调用服务器获取数据。从服务器获取数据大约需要 4 秒,对于 XAML 绑定大约需要 6 秒。为了获得用户通知,我给出了一个繁忙的指示器,它将正常运行(进度显示在进度条上),直到数据到达客户端。当我将该结果分配给 XAML 时,它(忙碌指示器)将变得无响应(也是主窗口)。是因为单一的 UI 线程吗?是否可以在 WCF 异步调用内的单独线程(如后台工作人员)中显示繁忙指示器?或者还有其他处理这种情况的好方法吗?
谢谢
database - 数据库创建上的 Flex 移动忙指示器
我对 flex 很陌生,不知道发生了什么,哈哈。我想从 xml 文件创建一个大型数据库,但是在将记录插入数据库时,应用程序会冻结,直到一切都完成。我有一个创建数据库的 AS3 文件和实际视图中的繁忙指示器,其中按下按钮创建数据库。当我这样做时,代码运行时不显示忙碌指示符。
我在想也许繁忙的指示器应该在实际的 AS3 文件中,但我不知道该怎么做。任何人都可以帮助指出正确的方向吗?谢谢你。
----添加了我如何创建我的数据库----
ios - Flex Mobile HTTPService 期间的“正在加载”图标
有没有办法在 Flex Mobile 中的 HTTPService 调用期间显示某种“加载”标志或图标?像常规 flex 中的 showBusyCursor 这样的东西?
谢谢,
亚伦