Hi all,
there is a problem in BrowseForFolderDlg. Setting a path to :cRoot has no effect. Always starts with the Rootdirectory of the disk.
Is there a Workaround?
Thanks Ingo
problem with BrowseForFolderDlg in Xailer 32
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
Re: problem with BrowseForFolderDlg in Xailer 32
Hi Ingo,
how did you define cRoot?
I tested with Xailer 3.2 and it worked.
I also tested the definition at design time.
create a small example.
how did you define cRoot?
I tested with Xailer 3.2 and it worked.
Código: Seleccionar todo
METHOD Button1Click( oSender ) CLASS TFrmMain
::oBrowseForFolderDlg1:cRoot:='C:\TEMP'
::oBrowseForFolderDlg1:Run()
RETURN Nil
create a small example.
Ingo Junge-Herrmann escribió:there is a problem in BrowseForFolderDlg. Setting a path to :cRoot has no effect. Always starts with the Rootdirectory of the disk.
Is there a Workaround?
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
Re: problem with BrowseForFolderDlg in Xailer 32
Hi Hurricane,
thanks for replying.
Here my Code
METHOD OrdnerWahl( oSender, Value ) CLASS Eingangsliste
LOCAL cPfad := "C:\Debeka\data\"
LOCAL cPdfPfad := ""
WITH OBJECT ::oBrowseForFolderDlg1
:cRoot := cPfad
IF :Run()
cPdfPfad := :cRoot
ELSE
cPdfPfad := ""
ENDIF
END WITH
RETURN cPdfPfad
Is always showing the personal directory.
Any idea?
Ingo
thanks for replying.
Here my Code
METHOD OrdnerWahl( oSender, Value ) CLASS Eingangsliste
LOCAL cPfad := "C:\Debeka\data\"
LOCAL cPdfPfad := ""
WITH OBJECT ::oBrowseForFolderDlg1
:cRoot := cPfad
IF :Run()
cPdfPfad := :cRoot
ELSE
cPdfPfad := ""
ENDIF
END WITH
RETURN cPdfPfad
Is always showing the personal directory.
Any idea?
Ingo
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
Re: problem with BrowseForFolderDlg in Xailer 32
Hi Hurricane,
it's solved.
Thank you
Ingo
it's solved.
Thank you
Ingo