| Author | Topic: XbpFileDialog() start at |
---|
| Itai Ben-Artzi | XbpFileDialog() start at
on Wed, 24 Jun 2020 01:02:51 -0700Hi,
Can XbpFileDialog() be directed (start at) specific path or folder?
How?
Many thanks,
-Itai |
| Carlos A Beling | Re: XbpFileDialog() start at
on Wed, 24 Jun 2020 11:45:16 -0300HI Itai.
Good day.
Take a look at XbpFileDialog:open() and see if it is what you are
lokking for.
Fraternally
Beling
On 24/06/2020 05:02, Itai Ben-Artzi wrote:
> Hi,
> Can XbpFileDialog() be directed (start at) specific path or folder?
> How?
>
> Many thanks,
> -Itai
> |
| Itai Ben-Artzi | Re: XbpFileDialog() start at
on Wed, 24 Jun 2020 11:36:53 -0700Thank you, Carlos!!
That is exactly what I miss reading in the docs.
-Itai |
| Osvaldo Ramirez | Re: XbpFileDialog() start at
on Wed, 24 Jun 2020 09:07:19 -0600On 24/06/20 2:02, Itai Ben-Artzi wrote:
> Hi,
> Can XbpFileDialog() be directed (start at) specific path or folder?
> How?
>
> Many thanks,
> -Itai
>
oFileDlg := XbpFileDialog():new()
oFileDlg:defextension := "xml"
ofileDlg:restoredir := .T.
ofileDlg:filefilters := {{"Archivos de xml","*.xml"}}
oFileDlg:title := "Seleccione el archivo XML"
oFileDlg:create( oDlgMainScreen )
cFile := oFileDlg:saveas("f:\cfd\") <= Seleccion de folder inicial
HTH
Regards
Osvaldo Ramirez |