Hand cursor in 2.9 beta

Joe Lewis Wilkins pepetoo at cox.net
Sat Mar 22 04:03:31 EDT 2008

Thanks Eric. It's a little more complicated than I had first thought.  
I've been noticing some erratic performance as I experiment with this;  
for example, after saving a script, the cursor continues to be a  
wristwatch instead of turning back to the I-beam. I have to use the  
message box to unlock the cursor again, so I can see there is a  
possibility of screwing things up with this. (smile)

Joe Wilkins

On Mar 22, 2008, at 12:14 AM, Eric Chatonet wrote:

> Joe,
> If you don't lock a cursor, the engine resets the cursor to the  
> default cursor when the handler finishes.
> You can lock and unlock the cursor.
> See corresponding entries in the dictionary by specifying 'cursor'  
> for instance.
> Now as for your problem:
> I assume that when the cursor has to change it's related to some  
> event in any case: interactivity :-)
> So you have many ways to set the cursor: at mouseEnter in an area,  
> if the mouse is down, etc.
> And to unlock it using other events: mouseLeave, etc.
> Hope this helps.
> Le 22 mars 08 à 08:04, Joe Lewis Wilkins a écrit :
>> Eric,
>> I'm trying to toggle back and forth between the paint bucket and  
>> the hand with menu items and related command keys. How/when would I  
>> lock a cursor? TIA,
>> Joe Wilkins
>> On Mar 22, 2008, at 12:01 AM, Eric Chatonet wrote:
>>> Hi Joe,
>>> Le 22 mars 08 à 07:56, Joe Lewis Wilkins a écrit :
>>>> Shouldn't set the cursor to hand change the cursor to the  
>>>> pointing hand? With 2.9 it doesn't - in a menu handler OR the  
>>>> message box.
>>>> Am I missing something very elementary?
>>> May be you forgot to lock the cursor?
>>> ;-)
> Best regards from Paris,
> Eric Chatonet.
> ----------------------------------------------------------------
> Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
> Email: eric.chatonet at sosmartsoftware.com/
> ----------------------------------------------------------------
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

Joe Lewis Wilkins
pepetoo at cox.net

More information about the Use-livecode mailing list