Re: File locking

Marnaud <[email protected]>
Newsgroups gmane.comp.lang.realbasic.user
Message-ID <[email protected]>
Le 20 mai 2017 à 15:07 du soir, Marnaud <[email protected]> a écrit:

> Does this code compile for you?
> dim f As FolderItem
> 
> f=SpecialFolder.UserHome.Child("SomeFile")
> 
> f.Locked=not f.Locked
> Return True

I mean, except the “return true”, of course.
If it compiles, then it’s not read-only on your side either.
_______________________________________________

Xojo forum:

https://forum.xojo.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.