In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

problem with BrowseForFolderDlg in Xailer 32

Xailer English public forum
Ingo Junge-Herrmann
Posts: 339
Joined: Mon Jul 02, 2007 7:17 pm

problem with BrowseForFolderDlg in Xailer 32

Postby Ingo Junge-Herrmann » Thu Nov 29, 2018 1:09 pm

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
User avatar
Hurricane
Posts: 107
Joined: Tue Mar 24, 2015 10:21 am
Location: Brasil
Contact:

Re: problem with BrowseForFolderDlg in Xailer 32

Postby Hurricane » Fri Nov 30, 2018 1:48 am

Hi Ingo,

how did you define cRoot?
I tested with Xailer 3.2 and it worked.

Code: Select all

METHOD Button1Click( oSender ) CLASS TFrmMain
   ::oBrowseForFolderDlg1:cRoot:='C:\TEMP'
   ::oBrowseForFolderDlg1:Run()
RETURN Nil

I also tested the definition at design time.
create a small example.

Ingo Junge-Herrmann wrote: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?
[x]Harbour Delphi | Xailer VxH Fivewin Hwgui Minigui | SQL FastReport
Contact me: Developments | Training | Facebook | Projects
Ingo Junge-Herrmann
Posts: 339
Joined: Mon Jul 02, 2007 7:17 pm

Re: problem with BrowseForFolderDlg in Xailer 32

Postby Ingo Junge-Herrmann » Fri Nov 30, 2018 8:13 am

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
Ingo Junge-Herrmann
Posts: 339
Joined: Mon Jul 02, 2007 7:17 pm

Re: problem with BrowseForFolderDlg in Xailer 32

Postby Ingo Junge-Herrmann » Fri Nov 30, 2018 8:19 am

Hi Hurricane,

it's solved.

Thank you

Ingo

Return to “English”