Is there a control (usable in VFP5) that would allow me to translate the button captions in GETDIR() (Select, Cancel) into different languages? Thanks!
Try the ShowSave method of the Common Dialog class. This example is VBA but VFP syntax will be very similar:
[TT]
With CommonDialog
'-- Start in c:\ and show the Save dialog
.InitDir = "c:\"
.DialogTitle = "Export to Excel"
.ShowSave
'-- Did the user select a file name?
If .FileName = "" Then
MsgBox "Please enter a file name"
Else
'-- Put some code here to save the file
MsgBox "File saved as " & .FileName
End If
End With
[/TT]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.