This question is about using VFP 8.0 in the development environment under
Windows/2000.

When I bring up certain OS dialogs that permit the user to select a file or
subdirectory, the files are not in alphabetical order.

For example, if you issue the command "CREATE CLASS" and click on the "Store
In" button, you get the "Save As" dialog which permits you to select a file
or a subdirectory.
Another example: issue the command "CREATE CLASS" and click on the "Based
On" command button. You get the same dialog but it is labeled "Open".

On my last development machine, which ran Win/NT 4.0, the files and
subdirectories were displayed in this dialog in alphabetical order. On the
Win/2000 machine, they are not in alphabetical order. It's not clear what
order they are in, maybe most recently accessed.

Is there some way to get them to be displayed in alphabetical order?

Thanks, Chaim

Re: Display Problem, Probably OS-Related by Cindy

Cindy
Thu Sep 11 21:23:49 CDT 2003

Hi Chaim,

You are looking at the are the Windows GetFile() or GetDir() dialogs. Mine
have the Views button to change the view type - it's the same one you see in
Windows Explorer. You can change the order of any of the columns if you
choose View > Details.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden@mvps.org, www.cindywinegarden.com

"Chaim Caron" <ccaron@earthlink.net> wrote in message
news:I%98b.1210$%G3.711@newsread2.news.atl.earthlink.net...
> When I bring up certain OS dialogs that permit the user to select a file
or
> subdirectory, the files are not in alphabetical order. ......



Re: Display Problem, Probably OS-Related by Cindy

Cindy
Fri Sep 12 09:47:24 CDT 2003

Hi Chaim,

In WinXP if I type CREATE CLASS ?, up comes the dialog. If I choose one of
the "..." buttons, up comes the dialog to Open or Save In. Across the top of
the dialog there is a combo box, a "Go to last folder visited" back arrow
button, an "Up one level" green arrow button, a "Create new folder" button,
and a "View Menu" button. The View Menu button has a drop-down list of
various ways to view the items that are listed in the large box. As far as I
know, VFP8 brings up the _Windows_ dialogs to get a file or a folder.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden@mvps.org, www.cindywinegarden.com

"Chaim Caron" <ccaron@earthlink.net> wrote in message
news:pGj8b.153$Aq2.105@newsread1.news.atl.earthlink.net...
> Hi Cindy,
> Sorry, I don't understand what you are suggesting. Where is the menu
from
> which I pick "View > Details"? These dialogs are modal so there is no
> oportunity to go to any menu while the dialogs are active. Are you
> suggesting I set this setting from within VFP? Or is it a Windows
setting?
> Or are these settings available from within the dialogs??
> Thanks, Chaim
>
>



Re: Display Problem, Probably OS-Related by Chaim

Chaim
Fri Sep 12 15:40:44 CDT 2003

Hi Fred and Cindy,
Ok, I did what you suggested. (By the way, I am in Win/2000, not Win/XP.)
It works but it is not persistent.

In the "Open" dialog, I clicked on the far right icon and selected
"Details". Then I clicked on the "Name" column header and that successfully
sorted the items in the last alphabetically. So far so good. However, this
setting was not persistent: if I close the dialog and reopen it, now the
files are again not ordered alphabetically.

What you suggested does work, but I would have to do it each time I open
one of those dialogs.

I am trying to find out how to make the change persistent. I have never
seen the files displayed in other than alphabetical order before. Is
there some way to change this setting and make it persist so the files in
this dialog are always presented in alphabetical order?

Thanks, chaim



Re: Display Problem, Probably OS-Related by Dan

Dan
Fri Sep 12 15:43:45 CDT 2003

That dialog takes its settings from Windows Explorer.

Change how that's set up and it should persist.

Dan

"Chaim Caron" <ccaron@earthlink.net> wrote in message
news:gbq8b.2654$NM1.302@newsread2.news.atl.earthlink.net...
> Hi Fred and Cindy,
> Ok, I did what you suggested. (By the way, I am in Win/2000, not
Win/XP.)
> It works but it is not persistent.
>
> In the "Open" dialog, I clicked on the far right icon and selected
> "Details". Then I clicked on the "Name" column header and that
successfully
> sorted the items in the last alphabetically. So far so good. However,
this
> setting was not persistent: if I close the dialog and reopen it, now the
> files are again not ordered alphabetically.
>
> What you suggested does work, but I would have to do it each time I open
> one of those dialogs.
>
> I am trying to find out how to make the change persistent. I have never
> seen the files displayed in other than alphabetical order before. Is
> there some way to change this setting and make it persist so the files in
> this dialog are always presented in alphabetical order?
>
> Thanks, chaim
>
>



Re: Display Problem, Probably OS-Related by Chaim

Chaim
Fri Sep 12 16:48:45 CDT 2003

Hi Dan,
Thanks for the suggestion, but it is not working.
I made the setting in Windows Explorer and it did affect the sort in the
dialog.
Then I restarted Windows/2000, checked Windows Explorer (still ok) and
then checked the dialog (still not ok).
Any idea on how to proceed?
BTW, in Windows Explorer, it looked like there were separate settings
stored for each logical drive. I changed the settings for all the logical
drives.
Thanks, Chaim

"Dan Freeman" <dan@dfapam.com> wrote in message
news:eOSi65WeDHA.3708@tk2msftngp13.phx.gbl...
> That dialog takes its settings from Windows Explorer.
>
> Change how that's set up and it should persist.
>
> Dan




Re: Display Problem, Probably OS-Related by Dan

Dan
Fri Sep 12 17:21:38 CDT 2003

It's worse than that. There are remembered settings for each *folder*.

Open Explorer, set a folder like you want it, then choose Tools->Folder
Options, View tab. In the top frame (Folder views) you can either reset all
folders or make them all like the current one.

Dan


"Chaim Caron" <ccaron@earthlink.net> wrote in message
news:1br8b.3175$NM1.765@newsread2.news.atl.earthlink.net...
> Hi Dan,
> Thanks for the suggestion, but it is not working.
> I made the setting in Windows Explorer and it did affect the sort in the
> dialog.
> Then I restarted Windows/2000, checked Windows Explorer (still ok) and
> then checked the dialog (still not ok).
> Any idea on how to proceed?
> BTW, in Windows Explorer, it looked like there were separate settings
> stored for each logical drive. I changed the settings for all the logical
> drives.
> Thanks, Chaim
>
> "Dan Freeman" <dan@dfapam.com> wrote in message
> news:eOSi65WeDHA.3708@tk2msftngp13.phx.gbl...
> > That dialog takes its settings from Windows Explorer.
> >
> > Change how that's set up and it should persist.
> >
> > Dan
>
>
>



Re: Display Problem, Probably OS-Related by Chaim

Chaim
Sat Sep 13 16:20:57 CDT 2003

Hi Dan,
That was it. You put your finger on it exactly. Many thanks!
Regards, Chaim