The cursor has no control over events, it's simply a visual thing like setting the color of the background. If you really want to block all clicks, check the archives as there was a post on how to overlay a single panel on top of your application that would intercept all clicks. With that you can then control when you allow clicks or not by making the panel visible or hiding it. And for more visual effects, you can give it a color of black with an opacity of 90+%. This would give the whole application a greyed out look.

Jim

On 10/10/06, Alex D. <[EMAIL PROTECTED]> wrote:
Thx Sebastian,

that's indeed even better. BUT! I thought it's not possible to click a
button with a "wait" cursor - well, it is. And that's the point. I want
to forbid any button clicks to user in some cases. Is there any elegant
way to do this(like with the "wait" cursor)?

Best Regards,
alex.d
> Even better is to use the client document for this:
>
> qx.ui.core.ClientDocument.getInstance().setGlobalCursor("wait");
>
> Sebastian
>
>
> Alex D. schrieb:
>> Thx Dan,
>>
>> Certainly! I have totally forgotten setStyleProperty function.
>>
>> Cheers,
>> alex.d
>>> <object>.setStyleProperty("cursor","wait") works for me
>>>
>>> Dan
>>>
>>> Alex D. wrote:
>>>> Hi folks,
>>>>
>>>> in some cases i would like to change the cursor appearance for a
>>>> while. I tried:
>>>>
>>>> document.getElementsByTagName("body")[0].style.cursor = "wait";
>>>>
>>>> but it doesn't work. Any ideas why? Are there any qooxdoo classes
>>>> to do this?
>>>>
>>>> Regards,
>>>> alex.d
>>>>
>>>>
>>>>
>>
>> -------------------------------------------------------------------------
>>
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to