Re: File locking
Jean-Luc Arnaud <jean-luc-E/[email protected]>
| Newsgroups | gmane.comp.lang.realbasic.user |
|---|---|
| Organization | Centre Direct du Multimédia |
| Message-ID | <[email protected]> |
And you're right, of course, Locked is not a read-only property, but actually a R/W one. Jean-Luc Arnaud Le 20/05/2017 à 15:25, Marnaud a écrit : > 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/ > _______________________________________________ Xojo forum: https://forum.xojo.com/