Show cursor busy

Questions, tips and tricks and techniques for scripting in Servoy

Show cursor busy

Postby Hans Nieuwenhuis » Wed Apr 11, 2012 9:48 am

Hi,

I am now sometimes using the Busy plugin, just to show a busy cursor.
Which b.t.w. is a nice plugin !

But if I only want to show a busy cursor somewhere (no blocking or other features), I have to change my existing code to call it.
And even more changes are needed when a function returns a value.

Would'nt it be nice to be able to set the cursor "Busy" and "not Busy" without realy change the code ?

For Instance :

Code: Select all
function functionName(Param) {
try {

  setCursorBusy()

  < existing >
  < code >
  < return value >

} finally {
  setCursorNotBusy()
}
Hans Nieuwenhuis
Betagraphics
http://www.deltics.nl
http://www.betagraphics.nl

Servoy Version 7.3.1
Java version 1.7.0.x
Database Oracle 11g
User avatar
Hans Nieuwenhuis
 
Posts: 1026
Joined: Thu Apr 12, 2007 12:36 pm
Location: Hengelo, The Netherlands

Re: Show cursor busy

Postby tgs » Thu Apr 12, 2012 1:14 pm

Hi Hans,

basicly a cool feature request!

But does it make sense to show a busy cursor without the need of displaying a running action and/or blocked functions?
I'm not a master of knowing GUI rules, but I think this could confuse the users, or?

Regards,
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 886
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany


Return to Methods

Who is online

Users browsing this forum: No registered users and 4 guests