Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX commondialog
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00424599
Message ID:
00425402
Vues:
13
>Hi George.
>
>>Nope, not the case. I just tested this under VFP 6.0 SP4 and if the Cancel but is selected, even if a file has been selected with either the ShowOpen or ShowSave methods, the .FileName property is empty.
>
>This behavior must've changed then -- it worked that way in the version 5 control, and I just assumed it still worked that way in later releases. Thanks for pointing that out!
>
Doug,

You're welcome. The only problem with using the .FileName property might be failing to set it to an empty string prior to calling ShowSave or ShowOpen. I haven't tested this, but it could be that if a call returning a value in the property is followed by a call which the user clicks the Cancel button, this second call might return the previous value if the property isn't reset.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform