Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

XOJO. Dialog.InitialDirectory: strange behaviour (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: I had to force quit XOJO at install time
Next thread: Texas Instruments CC3000?


Re: [OT] Large Screenshots   -   Rubber Chicken Software Co.
  XOJO. Dialog.InitialDirectory: strange behaviour   -   emile.a.schwarz
   Re: XOJO. Dialog.InitialDirectory: strange behaviour   -   Franklin Veaux

XOJO. Dialog.InitialDirectory: strange behaviour
Date: 09.08.13 08:39 (Fri, 9 Aug 2013 09:39:58 +0200 (CEST))
From: emile.a.schwarz
Hi,

In a projkect, I have:
OpenDlg.InitialDirectory = GetFolderItem("")

and this works as intended.

Earlier today, I booted on an external hard disk (10.8.4), run XOJO (2013r2, from that disk), load that project and never have the intended "Initial Directory". Weird.
The project was in the other hard disk (internal HD from a MacBook Pro), so I had to search it manually.

BUT, due to strange things I saw recently, I cannot really say that this is a bug or a local strange behavior.

Can one of you check that for us ?

Regards,

Emile

_______________________________________________
Unsubscribe by sending a message to:
<<email address removed>>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: XOJO. Dialog.InitialDirectory: strange behaviour
Date: 09.08.13 19:46 (Fri, 9 Aug 2013 11:46:51 -0700)
From: Franklin Veaux

On Aug 9, 2013, at 12:39 AM, "emile.a.schwarz" <<email address removed>> wrote:

> OpenDlg.InitialDirectory = GetFolderItem("")
>
> and this works as intended.
>
> Earlier today, I booted on an external hard disk (10.8.4), run XOJO (2013r2, from that disk), load that project and never have the intended "Initial Directory". Weird.
> The project was in the other hard disk (internal HD from a MacBook Pro), so I had to search it manually.

There does seem to be some weird behavior with OpenDlg.InitialDirectory. I haven't seen this exact behavior, but I talked a bit ago about how sometimes doing something like

OpenDlg.InitialDirectory = GetFolderItem(whatever)

doesn't work reliably, but

dim f as folderitem
f = getfolderitem(whatever)
OpenDlg.InitialDirectory = f

does work. I've never been able to figure out a reason for it.
_______________________________________________
Unsubscribe by sending a message to:
<<email address removed>>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>