realbasic-nug
[Top] [All Lists]

Re: Logic used in ordering of dropped folderitems?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Logic used in ordering of dropped folderitems?
From: Terry Ford <tmford at shaw dot ca>
Date: Wed, 31 Oct 2007 09:46:53 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <mailman dot 3032 dot 1193790173 dot 262 dot realbasic-nug at lists dot realsoftware dot com> <225778B8-36E2-49AC-A67F-A766EEA6B596 at mindspring dot com> <1D7B2876-C16B-46A2-B5EB-77A85E3C0E49 at inspiringapps dot com> <E53C550D-F332-45CE-8AD4-487B6602BF62 at shaw dot ca> <A24921C6-9FBB-416D-BDD7-0769C80438C6 at declareSub dot com> <CC3A82A8-BFB4-4D81-9DB8-16926B4A96FA at shaw dot ca> <20071031163219 dot AA45D76D06 at isis dot visi dot com>
On Oct 31, 2007, at 9:32 AM, Craig A. Finseth wrote:

> In all Unix directories, files are added at the first open slot.  For
> new directories, this means at the end.  If the directory has been
> around and some files have been deleted, new files may be added into
> the open slots.
>
> So, when a program traverses a directory (e.g., with readdir), you get
> the files in the order that they are in the directory.
>
> Just about every utility in Unix sorts the names.  Ditto, of course,
> for the Finder and other GUI-level views.
>
> So, the order is random, sort of.  But you only notice this if you are
> working at the program level.  As a user, you are pretty much unaware
> of the underlying order.

The OP was interested in the drop order in Rb and that probably  
relates more to the way the OS works than anything one could control  
>from the UI level. Sorting is probably his best (or only) option.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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


<Prev in Thread] Current Thread [Next in Thread>