Questions tagged [hourglass]

26 questions
75
votes
14 answers

Getting the browser cursor from "wait" to "auto" without the user moving the mouse

I use this jQuery code to set the mouse pointer to its busy state (hourglass) during an Ajax call... $('body').css('cursor', 'wait'); and this corresponding code to set it back to normal... $('body').css('cursor', 'auto'); This works fine... on…
Nosredna
  • 83,000
  • 15
  • 95
  • 122
22
votes
2 answers

Android hourglass

How can I programmatically display an hourglass in an Android application?
Arutha
  • 26,088
  • 26
  • 67
  • 80
14
votes
5 answers

Hourglass problem in a WinForm application

In my program with a UI in WinForm. I set the cursor to a hourglass just before to launch a method in ThreadPool. My code in UI thread to set the cursor looks like this : Application.UseWaitCursor = true; When the method is finished, i go back to…
RedPaladin
  • 784
  • 2
  • 9
  • 18
11
votes
1 answer

How to handle odd resolutions in Unet architecture PyTorch

I'm implementing a U-Net based architecture in PyTorch. At train time, I've patches of size 256x256 which doesn't cause any problem. However at test time, I've full HD images (1920x1080). This is causing a problem during skip…
Nagabhushan S N
  • 6,407
  • 8
  • 44
  • 87
6
votes
2 answers

Why doesn't my cursor change to an Hourglass in my FindDialog in Delphi?

I am simply opening my FindDialog with: FindDialog.Execute; In my FindDialog.OnFind event, I want to change the cursor to an hourglass for searches through large files, which may take a few seconds. So in the OnFind event I do this: Screen.Cursor…
lkessler
  • 19,819
  • 36
  • 132
  • 203
5
votes
1 answer

Hourglass cursor in VB.NET

Im currently making windows forms program (application), and when the user logs into it, he must wait a few seconds before entering it. My question is: How to get the hourglass cursor, so the user will be informed that the program (app) is busy…
Tadumc421
  • 149
  • 2
  • 4
  • 12
5
votes
1 answer

Why would the hourglass (WaitCursor) stop spinning?

I've got code in a button click like so: try { Cursor = Cursors.WaitCursor; GenerateReports(); } finally { Cursor = Cursors.Default; GC.Collect(); GenPacketBtn.Enabled = true; } Nowhere else but in the finally block is the…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
4
votes
1 answer

How to pass vector between library/module boundary using hourglass pattern?

The question is related to a talk by Stefanus Du Toit on hourglass pattern. Its a great talk, really helpful for library writers. Youtube Link: https://youtu.be/PVYdHDm0q6Y Slideshare Link:…
Zarian
  • 41
  • 2
4
votes
3 answers

Outlook VBA Macro: Best way to indicate 'please wait'

What's the best practice for indicating to the user that a Macro is running within Outlook ? The macro can take around 1-30 seconds to complete. I want to avoid a modal 'msgbox' popping up before the macro is run, as this can be annoying. I would…
monojohnny
  • 5,894
  • 16
  • 59
  • 83
3
votes
3 answers

Hourglass while form submits

I have a grails application which parses a CSV file. I have it working with a form, and when people upload the form it can take 30 seconds plus to get the next page during which time only an astute or extra nerdy observer will notice the page is…
Mikey
  • 4,692
  • 10
  • 45
  • 73
1
vote
0 answers

Curved lines in Graph view flutter

How do I achieve curved lines for connecting nodes in graphite or graph view? Like mind map curves I mentioned the image below but I want to implement the curved arrows in graphite.
1
vote
3 answers

How to show a Wait cursor using C# without having an active (or any) Windows Form?

I have tried using this code sample: private void DoShortRunningTask() { using (new StWaitCursor()) { Thread.Sleep(5000); // 5 sec delay. .. do some work .. } } From:…
Hamish Grubijan
  • 10,562
  • 23
  • 99
  • 147
1
vote
1 answer

Is it possible to hide hourglass during Process Start?

Background I am working on a application that make extensive use of SetParent functionality in order to play several video players into a single application while keeping memory of main applicaton under control. Everytime the user requests to see a…
1
vote
2 answers

Timer/hourglass wont stop

I tried the same thing with the timer but still not working Everytime I try to start the timer , it works but when I try to click again the button and cancel the countdown, it is not stopping or cancelling. Here is my code: public void timer(final…
1
vote
0 answers

TextView stops updating after a while using hourglass tick function

// After running for a few minutes the UI stop updating inside of the tick function. //This is update function of my text view in given below private void timerGreen(final long time, long interval) { hourglassGreen = new Hourglass(time,…
wasif
  • 317
  • 2
  • 9
1
2