Home » Developer & Programmer » Forms » MOUSE POINTER STYLE
MOUSE POINTER STYLE [message #215270] Sat, 20 January 2007 06:14 Go to next message
amit_vass2000
Messages: 52
Registered: December 2006
Location: Delhi
Member
i M DEVELOPING A FORM IN WHICH I HAVE A BUTTON 'PROCESS'. NOW I WANT THAT WHEN I CLICK ON PROCESS BUTTON, MOUSE POINTER SHOWS BUSY AND AFTER PROCESS COMPLETES MOUSE POINTER RETURNS TO NORMAL.
I M USING
'SET_APPLICATION_PROPERTY(CURSOR_STYLE,'BUSY')';


IT IS WORKING BUT MOUSE POINTER REMAINS BUSY FOREVER, SO PLZ HELP ME OUT AND TELL ME SOME CODE OF IT.

THANX IN ADVANCE
Re: MOUSE POINTER STYLE [message #215282 is a reply to message #215270] Sat, 20 January 2007 07:46 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
You might try to create a timer and, in the WHEN-TIMER-EXPIRED trigger, check whether processing is over or not. If it is, change mouse icon back to normal.

Also, don't abuse use of capital letters.
Re: MOUSE POINTER STYLE [message #215369 is a reply to message #215270] Sun, 21 January 2007 21:54 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
In the statement after the process call add another set_application_property to change the mouse back to normal.

David
Re: MOUSE POINTER STYLE [message #217557 is a reply to message #215270] Fri, 02 February 2007 15:03 Go to previous message
ossamakamel
Messages: 8
Registered: February 2007
Junior Member
HI I THINK YOU ARE USING LOOP IN THIS BUTTON
SO AFTER END LOOP

CHANGE THE STYLE OF THE MOUSE TO NORMAL

Previous Topic: How to print the value of a variable..
Next Topic: Hi friends
Goto Forum:
  


Current Time: Sat Feb 08 19:06:55 CST 2025