Try this one too:

f = preferencesFolder.child(mFile)

if f <> nil and f.exists then
 f.visible = false
end if

if mFile for any reason or error is = "" then, as parent folder, the 
Preferences folder becomes invisible.
>From the day I had that experience, I check if mFile is <> "".


>Sven E Olsson said:
>
>Just a note...
>
>f = f.child("..")
>
>is the same as f = f.parent !
>
>I have checked LR, but noting about it..
>
>Test:
>   dim f as folderitem = DesktopFolder
>   f = f.child("..")
>   f = f.Child("hello.txt")
>   EditField1.Text = f.AbsolutePath
>
>   Result: Macintosh HD:Users:sveneolsson:hello.txt
-- 
Carlo
_______________________________________________
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>

Reply via email to