Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse Pointer - Changing
Message
From
18/10/1998 12:00:12
 
 
To
18/10/1998 11:38:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00147116
Message ID:
00147941
Views:
34
Point taken, in which case the former code shouldn't really be used, either, as it would be necessary to record the "default" mouse pointer for each control upon setting it to "hourglass". You'd want run a procedure like:

Dimension ThisForm.aMPHoldArray(ThisForm.ControlCount)
for i=1 to ThisForm.ControlCount
ThisForm.aMPHoldArray(i)=ThisForm.Control(i).MousePointer
ThisForm.Control(i).MousePointer=0
next

My experience has been that by the time you get done running code like that, you sure _better_ use an hourglass, 'cause your user's will be locked up for quite a while.

>Only if all objects used the default mouse pointer before changing it. Which may not be true.
>
>Vlad
>
>>THISFORM.MousePointer=0 and ;
>>THISFORM.SetAll("MousePointer",0)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform