Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace doesn't show waiting cursor - is it true?
Message
De
31/03/2000 11:26:19
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00353057
Message ID:
00353380
Vues:
17
Nadya,

In addition to Bruce's comments, the practical upshot to VFP and the cursor is that you can't rely on the right cursor being displayed automatically in almost any circumstances. You should almost always manually change the cursor before beginning an operation that may take more than a second or two.

Vcevo horoshevo!

John



>Hi Bruce,
>
> Thanks a lot for your advice. I'll check it out again.
>
>>_screen.mousepointer = 11 && hourglass - This is also a good point. I know I did similar it in VB, but was not sure how to do it in VFP, so I took George Tasker code using API functions :)
>
> The message I already put (in wait window), but I like the idea of statusbar too.
>
>>>Hi everybody,
>>>
>>> Today I noticed a strange thing in one of my application:
>>>I made REPLACE ALL named with ' ' in BldMstr, where ~ 5000 records.
>>>It took some time ~ 20-25 sec., but it didn't show the wait mouse cursor... Does the default Replace command change the mouse cursor?
>>
>>No, it doesn't in vfp5, but in vfp6, the hourglass should kick on after a few seconds.
>>
>>In vfp5, I just added a message on the status bar indicating it would take a minute, and
>>
>>_screen.mousepointer = 11 && hourglass
>>
>>before all the slow things like that. In vfp6, you shouldn't have to change to hourglass (but the message is still a good idea).
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform