This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Setting cursor style

fli - Tuesday, August 28, 2012 5:19 AM:

Greetings members,

From a button onClick Event, I need to set the cursor style, so that the cursor is shown in "wait" -mode when over the form containing the button.

I am able to set the cursor.style to "wait" -mode for the cursor when it is over the button itself. by using..

  window.event.srcElement.style.cursor="wait";

I have tried some different calls to achieve this, clearly non has worked. anyway here are some of the "best" ones. ... 

::::not working::::

this.document.style.cursor="wait";

top.instance.style.curser="wait";

window.event.srcElement.parentElement.style.cursor = "wait";

:::: not working ::::

If someone will offer a solution to my problem or an explanation to how the DOM works please do 

Thanks and best regards Christoffer 



aponceot - Tuesday, August 28, 2012 7:09 AM:

Hi Christopher,

You can try the following in order to have a wait cursor on the form area of an item : 

instance.document.documentElement.style.cursor = "wait"

Hope it will work for you !




fli - Tuesday, August 28, 2012 7:41 AM:

Hi Anthony,

Thank you. 

I all makes a bit more sense now