Home » Developer & Programmer » Forms » Mouse cursor style
Mouse cursor style [message #126702] Wed, 06 July 2005 04:34 Go to next message
priyravi
Messages: 41
Registered: July 2005
Member
Hi,

On moving to display item, I want to change cursor style of the mouse. After leaving the item, default style has to be set.For this I used,
set_application_property(CURSOR_STYLE, 'HAND'
in mouse move trigger and default style in mouse leave trigger.
It is not working. Can anybody help me to sort out this issue pl?

Priya
Re: Mouse cursor style [message #126835 is a reply to message #126702] Wed, 06 July 2005 21:32 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Are you running 6i or 9i/10g? 'HAND' is not available in 6i.

David
Re: Mouse cursor style [message #126851 is a reply to message #126835] Wed, 06 July 2005 23:35 Go to previous messageGo to next message
priyravi
Messages: 41
Registered: July 2005
Member
am running 9i
Re: Mouse cursor style [message #126855 is a reply to message #126851] Wed, 06 July 2005 23:45 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I am 'clutching at straws' at this point.

Try putting a 'synchronize' after the 'set_application_property' in the trigger.

You do know that it is firing don't you?

David
Re: Mouse cursor style [message #126891 is a reply to message #126855] Thu, 07 July 2005 03:14 Go to previous messageGo to next message
priyravi
Messages: 41
Registered: July 2005
Member
it is not working David...
Re: Mouse cursor style [message #126996 is a reply to message #126702] Thu, 07 July 2005 15:15 Go to previous messageGo to next message
ramisy2k
Messages: 150
Registered: April 2005
Senior Member
Hi Priya

the problem is that u are not moving to item.. u are entering into item..

u sld use trigger WHEN-MOUSE-ENTER INSTEAD OF WHEN-MOUSE-MOVE TRIGGER AND THE FOLLOWIG CODE;

SET_APPLICATION_PROPERTY(Cursor_Style, 'hand');

and on WHEN-MOUSE-LEAVE trigger CODE;

SET_APPLICATION_PROPERTY(Cursor_Style, 'default');


IF U DONT LIKE THE THE 'HAND' CURSOR THEN MAIL ME AT THIS EMAIL

wordswordsandwords@hotmail.com

i will send u something which has the internet hyperlink type 'hand' cursor and many more..

regards,
Asim.



Re: Mouse cursor style [message #126998 is a reply to message #126996] Thu, 07 July 2005 15:21 Go to previous messageGo to next message
ramisy2k
Messages: 150
Registered: April 2005
Senior Member
PRIYA

THE SAMPLE CURSOR FORM..
  • Attachment: HAND.fmb
    (Size: 44.00KB, Downloaded 1995 times)
Re: Mouse cursor style [message #127043 is a reply to message #126996] Fri, 08 July 2005 03:46 Go to previous messageGo to next message
priyravi
Messages: 41
Registered: July 2005
Member
thanks for your reply..

but unfortunately, it is not working...
Re: Mouse cursor style [message #127292 is a reply to message #127043] Mon, 11 July 2005 02:03 Go to previous messageGo to next message
darsh_v
Messages: 16
Registered: February 2005
Location: hyderabad
Junior Member
Hi..

It's working for me.

Make sure that you r testing this during form run time, press Ctrl + R. The cursor will change in runtime only

Regards,

darshan
Re: Mouse cursor style [message #127480 is a reply to message #127043] Mon, 11 July 2005 20:11 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
'priyravi',

Do you know that the trigger is firing? How did you prove it? Please detail to us how you proved that it worked as I have found many times that we aren't getting the right trigger to fire, we just think it has fired.

David

[Updated on: Mon, 11 July 2005 20:13]

Report message to a moderator

Previous Topic: Regaring Calendar control
Next Topic: Batch uploading by user using Forms URL
Goto Forum:
  


Current Time: Thu Sep 19 23:02:16 CDT 2024