Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 10th, 2025, 5:25 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Change cursor appearance in script
PostPosted: September 19th, 2006, 1:22 pm 
Offline

Joined: April 21st, 2005, 4:47 pm
Posts: 43
Location: Southampton, UK
Hi, is there a way to change an arrow cursor to an hourglass and back through script? The triggers are events in the script rather than mouse move/over etc. Thanks.

_________________
A crack on the head / Is what you get for not asking
And a crack on the head / Is what you get for asking

Barbarism Begins At Home, The Smiths


Top
 Profile  
 
 Post subject:
PostPosted: September 19th, 2006, 4:43 pm 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
Make an empty frame that covers the page. Set the cursor for that frame to the hourglass and set it's properties to stop mouse clicks passing through. Make it initially hidden and move it to the top of your page ordering. Simply show and hide the frame from your script whenever you need to display the hourglass.

_________________
ddww Opus Developer


Top
 Profile Visit website  
 
 Post subject:
PostPosted: September 21st, 2006, 1:06 pm 
Offline

Joined: January 19th, 2005, 5:15 pm
Posts: 83
Location: Netherlands
A work around i did to hide / show the cursor through script was the next:

I created a 'variable changed' trigger on a master page. Within that trigger there is an If statement on the publication variable showCursor. If showCursor is 1, the the action is Show Cursor, if 0 the action is Hide Cursor.

This way, if i change the variable changeCursor in the script, i can control my cursor. Maybe you use this method for changing the cursor.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 98 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group