Disable object, during busy cursor showing
Hi guys,
I've a complex text field which I can embed types of font within it. When I try to choose a specific font through the Dropdownlist, I'll show the busy cursor till font embeds inside the text field completely.
I want to disable my text field based on showing busy cursor... I mean when the busy cursor is showing disable the text filed and after disappearing that, just enabled text field again.
How can I do that?
Is there any specific listener for that or what?
Thanks in advance
Hello,
<p>See the Set_Application_Property() built-in. (CURSOR_STYLE)</p>
Francois
Similar Messages
-
[Solved] No busy cursor shows
dwm + arch very good but no busy cursor shows during application launch waiting time. Googling all day no solution.
Last edited by duyinthee (Yesterday 05:13:10)Trilby wrote:I doubt that is what they do. I suspect the DE also couldn't change the cursor if the heavy app was launched from the command line. But if it is launched from a .desktop file (which it often would be in a DE) then the DE can listen for an event of when what program's main window is displayed.
Ah, that makes more sense - and would allow not having to poll the CPU usage (and I guess there aren't many people launching things from a command line in a DE).
... been too long since I've used a DE.
EDIT
So if you were to patch dwm, you'd need to add data structures for keeping track of processes that are forked from dwm, and associate each appearing window to the corresponding process in order to determine whether to show a "busy" cursor or a normal one.
May I say that this goes pretty much against the pricincple of dwm of keeping out superfluous features?
... but then again, "superfluous" is subjective, and dwm is made for people patching it to fit their needs, and while having a "busy cursor" in dwm may not seem useful for the big part of dwm users, you are free to patch it whatever way you like, and that's the beauty of a hackable WM
Last edited by ayekat (2015-06-21 14:51:07) -
Is there a way to show busy cursor in indesign during long processing?
Hi
I have created an extension for inDesign. It has long processing. I want to show busy cursor while processing.
Can anybody help me out?
Best regards
Sal@ stephen - Busy cursor is shown only on the extension and not anywhere in inDesign with "CursorManager.setBusyCursor();"
@ Vamitul - its still showing normal cursor with setting ScriptPreference.enableRedraw to false -
Trying to put a busy Cursor but ...confused why its not showing up
Hi
I have a Application and within it there are few HBox, List, VBOX , Canvas ......blah.. But one Vbox(vbox1) has a List(list1)
From List on itemClick I have a requirement of opening up a tree node by doing a lazy loading of the tree
And during this processing happens I wanted to show a busy cursor to let the user know that on item click the application is trying to load a tree and then open a particular node
Did the folllowing
CursorManager.setBusyCursor();
and
CursorManager.removeBusyCursor();
Also
var cusrorId:Number = CursorManager.setCursor(StyleManager.getStyleDeclaration("CursorManager").getStyle("busyC ursor"),CursorManagerPriority.HIGH)
and
CursorManager.removeCursor(cursorId)
Also
list1.cursorManager.setBusyCursor();
vbox1.cursorManager.setBusyCursor();
and
list1.cursorManager.removeBusyCursor();
vbox1.cursorManager.removeBusyCursor();
But after all this I didn't see any Busy Cursor
Busy Cursor is shown for few minutes if I put a Timer in between i.e after the ItemClick and before I trigger the processing of lazy loading of the tree
Guys any guesses
How can I make it work ? M I doing something wrong ? Please help
Regards
BiswamitIs it a 2nd gen or a 3rd gen? Only the 3rd gen requires for power to be plugged in, however all cables need to be disconnected initially regardless of model.
Apple TV (2nd and 3rd generation): Restoring your Apple TV
Make sure you are connecting directly to computer, not a keyboard port or USB hub. Try a different cable. -
I am getting frequent lock-ups and blue screens during boot up on my Mac Pro. The lock- ups occur sometimes during normal use and I cannot click anything or force quit. The cursor shows something is loading, but never stops. I have to use power button.
I had the Mac Defender malware and I have used apple jack but still having issues.I am getting frequent lock-ups and blue screens during boot up on my Mac Pro. The lock- ups occur sometimes during normal use and I cannot click anything or force quit. The cursor shows something is loading, but never stops. I have to use power button.
I had the Mac Defender malware and I have used apple jack but still having issues. -
Hiding busy cursor during polling
Greetings,
I have a small flex/flash application which retieves an update every 1000 ms/ 1 second. The flash code has a timer which upon expiry calls an Adapter method and displays the result to the screen.
The sequence of events is:
1. In the window a timer is started for 1000 ms.
2. Upon expiry of the timer an adapter method is called to get the time string
3. The adapter method returns the time stamp which is displayed to the window
4. The timer is restarted
I have tried including the method call, CursorManager.removeBusyCursor()
But the busy cursor still appears when the adapter method is called and receiving a response.
Do I have to remove the busy cursor entirely for this to work? If so, how is that done?
I have found the command: CursorManager.RemoveCursor()
But what is the cursor ID for the busy cursor?
Do I call it AFTER I call the adapter method?
Many thanks,The timer expiry is calling a flex method. The flex method is calling the Adapter method, a Java method.
Code snippet:
private function startTimer():void {
refreshTimer = new Timer(refreshInterval);
refreshTimer.addEventListener(TimerEvent.TIMER,getTimeString);
refreshTimer.start();
private function getTimeString(event:TimerEvent):void {
CursorManager.removeBusyCursor();
var call:Object = RemoteSrv.getTimeString();
call.marker = 'time';
stopTimer(); -
Cursor shows as busy Firefox 3.5 / Gnome
Ello
I'm using Firefox 3.5 on Gnome and when I launch Firefox the cursor shows as busy for upto 30 seconds even though Firefox is fully loaded and I'm browsing about. Firefox 3.11 was fine and I upgraded through Pacman to 3.5 when it became available.
Out of curiosity I tried opening Firefor 3.5 in an Openbox session and all was fine, so it's something to do with Gnome.
Anyone have any ideas?
Last edited by Meyithi (2009-07-14 17:46:19)I also noticed this when I upgraded my system, under a week ago. I had not upgraded for probably a month before that.
I first noticed this when opening shiretoko, but it also happens when I open an mp3 with vlc.
I have also just been ignoring it. @_@ -
Processing user request(show busy cursor)
hi i am new to jsf.
i want to show the processing thing for the user after submit the form(or any click on SUBMIT button).just like busy cursor in flex.Come on dude. At least take the effort to ask a proper question, don't just throw some open-ended requirement out there and expect people to draw you up a design sheet.
Being new to JSF might already make this requirement of yours a little too much to begin with; perhaps you want to dig a little deeper into JSF, and for example the combination of JSF and Ajax, to be able to understand enough how to implement this yourself. There are good resources out there, for example did you find BalusC's blog already?
http://balusc.blogspot.com/
It is a treasure trove of JSF related goodness that might just give you a few hints. -
How to show busy cursor when call webservice using as?
I want to call webservice using script,but i don't know how
to show busy cursor.please help meShow busy cursor:
>>>
CursorManager.setBusyCursor();
<<<
and hide it:
>>>
CursorManager.removeBusyCursor();
<<<
Don't forget to catch all events of the web-service to
securely remove the busy cursor. Especially, you might wish to
handle events of the 'results received' and the 'faults appeared'
logical results. -
Show Custom Busy Cursor on RemoteObject calls
Hi,
I am trying to display a custom image as busy cursor while making remote object calls in flex 4 with cairngorm.
i tried in two different ways and neither worked -
First approach - declaring style for CursorManager in css style sheet:-
CursorManager {
busy-cursor: Embed(source="/com/officemax/amps/assets/images/ball-3.jpg");
This did not work as it could not resolve a namespace and i could not find CursorManager either with mx or s namespace.
Second approach - set cursormanager style on initiliaze of application file:-
[Embed(source="/com/officemax/amps/assets/images/ball-3.jpg")]
public var busyImg:Class;
and on init method-
styleManager.getStyleDeclaration("mx.managers.CursorManager").setStyle("busy-cursor", busyImg);
This did not work either. this returned CSSDeclaration class for the CursorManager but I could not see the cursor reflect.
I do not want to set and remove cursor upon each call, i want to apply it globally.
Any ideas are greatly appreciated.
Thank You.@lakshdn,
The two approached you used should work. I suspect surely you made mistakes..Well let me explain..
In the CSS style declaration below make sure you have assigned the correct relative. If you are getting any error saying that it could not resolve the path or namespace then it means that you have not assigned the image path correctly. Make sure it is given correctly.
CursorManager {
busy-cursor: Embed(source="/com/officemax/amps/assets/images/ball-3.jpg");
Well coming to AS style of setting cursor manager . You have used systemManager with lower case for s and in the setStyle method you need to use the busyCursor instead of busy-cursor(similar to css).
styleManager.getStyleDeclaration("mx.managers.CursorManager").setStyle ("busy-cursor", busyImg); - wrong way of assigning.
StyleManager.getStyleDeclaration("mx.managers.CursorManager").setStyle ("busyCursor", busyImg); - correct way of assigning.
Observe the changes I made in bold letters.
Always remember when you are setting styles in AS using setStyle method you need to give the properties in the lower camel case but not as you give in the css. In css we can use any king of style (either word seperated by hyphen or lower camel case syntax)
Hope this is clear ..make these changes and check..
Thanks,
Bhasker -
After recovery from backup Creative Cloud Desktop shows spinning blue busy cursor
After a sysem mis-adventure I had to do a complete reinstallation of the OS (10.9 Mavericks) on my Mac Pro. Now when I open Creative Cloud Desktop I get the window with HOME active and the other selections such as Apps, Files, Fonts etc grayed out. In the middle of the window is a spinning blue busy cursor.
Clearly something needs to be reauthorized but I don't know what that is or how to do it.
Help?After a sysem mis-adventure I had to do a complete reinstallation of the OS (10.9 Mavericks) on my Mac Pro. Now when I open Creative Cloud Desktop I get the window with HOME active and the other selections such as Apps, Files, Fonts etc grayed out. In the middle of the window is a spinning blue busy cursor.
Clearly something needs to be reauthorized but I don't know what that is or how to do it.
Help? -
Busy Cursor in SchedulingGantt
Hi.
I have a SchedulingGantt and I want to show a busy cursor when the user changes a task (or any DataChangeEvent). Any idea how I can do that?
When the user moves a task it will pop back to where it was, the model has to be refreshed on the server and then the page(or at least the gantt) has to be refreshed to show the new location. This can take a few seconds and during that time it looks to the user like nothing happened.
I found the AdfAgent.showBusyCursor function which probably would work, but how do I catch the DataChangeEvent on the client before it is sent to the server? My first thought was to use af:clientListener on the dvt:schedulingGantt but that isn't supported.
Are there any other ways to do this?Two things come to mind:
1. put an <af:statusIndicator> on the page. This will show a spinning gif whenever a ppr is active. A good visual feedback for the user
2. use a [glass pane |http://www.oracle.com/technology/products/jdev/tips/fnimphius/glasspane/glasspane.html] to disable the whole UI while something is active.
Timo -
Hi guys,
I am trying to change app's busy cursor, but haven't been successful yet. I have create a .swf file that work fine. Next I tired the following code in my application init fuction
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("CursorManager");
if (!style) {
style = new CSSStyleDeclaration();
style.setStyle( "busyCursor", myBusyCursor );
StyleManager.setStyleDeclaration("CursorManager", style, false);
but this does not do anything. I am using showbusycursor="true" on all my RPC calls, and some depending on the query could take a sec longer. I just want to override the animated clock with my .swf through out the app.
Any pointer? I have spend about a day and half but no luck. I understand that CursorManager.setBusyCursor() will actually show the cursor, which is not what I want since I don't make a call to show busy cursor explicitly
Thank you
JayHi,
Just override the default cursor after you call your process, then on complete clear the cursor.
The following example will set the cursor to a custom cursor, note that by setting the custom cursor the busy cursor will be over riden (in this particular case even if you try to set the busy cursor after the custom cursor).
David
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.managers.CursorManager;
[Embed(source="sizeAll.gif")] public static var myCursor:Class;
private function modifyCursor(): void
//call a process here
this.cursorManager.setCursor(myCursor, 2, -10, -10);
]]>
</fx:Script>
<s:Button x="72" y="49" label="Mod Cursor" click="modifyCursor()"/>
<s:Button x="72" y="89" label="Show Busy" click="this.cursorManager.setBusyCursor()"/>
<s:Button x="72" y="129" label="Remove Cursor" click="this.cursorManager.removeAllCursors()"/>
</s:Application> -
How would I get visible busy cursor while calling ImageSnapshot.captureImage?
Hi,
I'm not sure if I understand correctly, but below is my very simple MXML file, where I try to show busy cursor before calling ImageSnapshot.captureImage. But instead my cursor dissapears atl all and then reappears after call is complete. Is it known functionality or should I use some callLater() call? Any help would be appreciated.
My code:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.graphics.ImageSnapshot;
import mx.graphics.codec.JPEGEncoder;
import mx.managers.CursorManager;
private function clickHandler() : void {
CursorManager.setBusyCursor();
const encoder:JPEGEncoder = new JPEGEncoder();
var imageSnapshot:ImageSnapshot = ImageSnapshot.captureImage(mainContainer, 96, encoder, true);
CursorManager.removeAllCursors();
]]>
</fx:Script>
<s:BorderContainer id="mainContainer" width="50%" height="50%">
<s:Label x="40" y="44" text="My label" width="60" height="31"/>
<s:Button x="30" y="79" label="Button" click="clickHandler()"/>
</s:BorderContainer>
</s:Application>I'm experiencing the same problem. ¿Did you solve it?
It happens as if it were no background image defined for the bussy cursor.
But I have seen that such image is defined in default.css inside framework.swc, so it should work... -
I'm looking for a good note app with pen function for taking notes ( in English and German ) during business trips. Can anyone help?
Really sorry to hear about this, particularly when you're putting your life on the line. But Apple cannot track your iPhone in any way unless you had set up Find My iPhone prior to it being lifted.
It's possible that AT&T might be able to do something, but it's probably that they cannot track it, or will not without a request from an authorized law enforcement agency, but rather would only disable the device. You'll have to try and find a way to contact AT&T directly and ask if they can do anything to help you; the chances of any AT&T employee in a position to help you spotting this thread it pretty small.
Good luck, stay safe, and come home soon.
Regards.
Maybe you are looking for
-
I want to upgrade my phone to the 4 or 4s. My macs are still running Tiger. If I bought an iPad 2, could I sync everything to it from the 4 without using a Mac at all, and then be able to iCloud my calendar and contacts, etc?
-
CacheLoader and cache beside pattern?
We are using a cache beside pattern for writes (the cache is updated together with two databases (ther applications and a legacy database) using XA-transactions, For various reasons we cant use a write-through solution for updating the databases). In
-
Utl_smtp and problem with french language characters
Hello, I am using utl_smtp to send email. Here is part of the proc: First try: mail_conn := utl_smtp.open_connection(mailhost, 25); utl_smtp.helo(mail_conn, mailhost); utl_smtp.mail(mail_conn, sender); utl_smtp.rcpt(mail_conn, recipient); utl_smtp.op
-
Spot removal bug in LR 5.3 for Mac??
I have been working on a photo in LR 5 trying to remove dust spots. I can select but they don't go away. Opened in LR 4 and it works fine. Anyone have an idea on how to fix? Thanks.
-
Snow Leopard is extremely fast & stable for me on my 3 Macs. One problem though - I was unable to find the option to disable firewall logging which was available in Leopard. System Profiler says firewall logging: No. But in the same System Profiler,