Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PutFile()
Message
De
30/08/2011 12:41:49
 
 
À
24/08/2011 06:46:39
Antonio Lopes (En ligne)
BookMARC
Coimbra, Portugal
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:
01522293
Vues:
86
>>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
>
Thank you, I have implemented this solution.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform