Message Boards Message Boards

How to change mouse appearance over computation

Posted 12 years ago
I'm working on some CDF interfaces, and would like to change mouse appearance when perfoming some task.
For example, some code like:
Button["Test Buttom", {changeMouseAppearance["Computing"]; Pause[0.5]; changeMouseAppearance["Standard"]}]
How can I define changeMouseFunc in order to perform that?
I know about MouseAppearance, but I need to change mouse pointer in Time, not in Space.
The code should work on CDF.
Tks in advance
POSTED BY: Rodrigo Murta
2 Replies
Posted 12 years ago
Hi Rodrigo.

When I first read your question, my first idea was to use the java.awt toolkit to change the mouse appearance.
So I started to write some code which uses TimerTask  and ActionListeners etc.

Then I read again your question and surprisingly until the end and discovered CDF.

Well, that was the moment where I realized, that I'd completly miss your question...

Unless there is no undocumented feature, I presume this is simply not possible using vanilla CDF.
POSTED BY: Stefan Schwarz
Hi Stefan,
I have not specified that I'm using Enterprise CDF, maybe your normal Mathematica code could work at this.
POSTED BY: Rodrigo Murta
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract