Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse Pointer - Changing
Message
De
18/10/1998 12:00:12
 
 
À
18/10/1998 11:38:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00147116
Message ID:
00147941
Vues:
35
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform