Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Severe situation on bug
Message
 
 
À
30/07/2001 13:13:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00537068
Message ID:
00537643
Vues:
28
Hi!

Its sad. The code sample you sent works here with such modification...
What is your ON ERROR setting? Did you tried to catch it by ON ERROR?

>>Try following error method. If you run it in the automation server, the open dialog box should not appear. The idea is to retry command without alias so it behaves normal way for return to command:
>>
>>
>>FUNCTION Error
>>PARAMETER nError,cMethod,nLine
>>if !empty(alias()) and !this.lFirstTry
>>	select 0
>>	retry
>>        this.lFirstTry = .T.
>>endif
>>this.lFirstTry = .F.
>>RETURN TO ShowMessage
>>ENDFUNC
>>
>
>This assumes that the error event is fired. In the current test I am doing, the error event does not even fires. So, I can't test it. It is just unpredictable.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform