Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PutFile()
Message
De
24/08/2011 06:46:39
 
 
À
24/08/2011 04:10:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01521675
Message ID:
01521683
Vues:
94
This message has been marked as the solution to the initial question of the thread.
>Hi All,
>
>I am using PUTFILE() to allow a user to choose a file name t save something to. Is there anyway to change the language of this dialog to reflect the users local Windows language settings? I don't mean the language of the parameters I can pass to PUTFILE() but rather the title of the dialog which reads "Save As", the "Save In" underneath the title, and the button captions for example.

Jos, you may try to use a CommonDialog Save dialog, which I believe is automatically localized.
LOCAL loDlg as MSComDlg.CommonDialog
LOCAL lcFileName AS String

m.loDlg = CREATEOBJECT("MSComDlg.CommonDialog")

m.loDlg.MaxFileSize = 250
m.loDlg.ShowSave()

m.lcFileName = m.loDlg.FileName
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform