On Dec 30, 2004, at 7:13 PM, Geoff Perlman wrote:
I believe that if the Parent property is nil, the folderitem is a
volume.
On Dec 30, 2004, at 8:40 PM, Dave wrote:
How would I check if a folderitem is a volume?
According to the LR, Parent returns nil if the item is the root
directory.
Also according to the LR, folderItem has a property "directory" which
is true for a directory.
dim f as folderItem
f = ......
if f.directory = true then
// it's a directory
~~~
I mention the LR, because I am supplying this info based upon what I am
reading, and have not run a test case to verify.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|