Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want an error for VFP Open dialog
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00885697
Message ID:
00886137
Vues:
44
>>They could even implement it so that if it is in a TRY section of code then it would report the problem rather than emitting the dialog. That way no one's OLD code breaks EVER as a result of the improvement.
>
>
>Actually it would break this VFP8 Code:
>
>
>Try
>   Select * from ?
>catch
>...
>
>
>I don't know if anyone is using that feature at runtime anyway, but it would break it....

Jeez, I suppose the code would break. On the other hand I suppose I could argue that the CATCH should have code to handle the unexpected error and that it would be handled there.
My thing with depending on the Open dialog is that it tells the poor user NOTHING so such a dependence is truly the programmer abdicating his/her responsibility and, as you say, causing a call to support for sure. In other words, that some programs **may** be written to WANT the Open dialog to appear in the instance FabioL cites is VERY VERY UNLIKELY (to the point that such a programmer would deserve the changed behaviour) IN THE REAL WORLD.

Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform