B4J Question B4J - SetReadOnly folder and file.

T201016

Active Member
Licensed User
Longtime User
I have a question, why in the above example the function (is ignored) doesn't work? I'm looking for a way to set the Read-Only attribute for a folders and a files. Any ideas, an example is also welcome.

Thanks.
 
Solution
In your previous question you asked about the hidden attribute...
Hidden attribute

Open up a command prompt and you will see that you can set the Read-only attribute in the same way as the hidden attribute.
Wow! Super! @PaulMeuris
Just what I was looking for - thanks a lot .

Initially, in my tests, I had the Hiden attribute set on the objects on which I was going to set READ-ONLY and it didn't work out, so I decided that I must be wrong in naming the attributes.
But already tamed

My Library: B4XAttribute

PaulMeuris

Active Member
Licensed User
In your previous question you asked about the hidden attribute...
Hidden attribute
Open up a command prompt and you will see that you can set the Read-only attribute in the same way as the hidden attribute.
 
Upvote 0

T201016

Active Member
Licensed User
Longtime User
In your previous question you asked about the hidden attribute...
Hidden attribute

Open up a command prompt and you will see that you can set the Read-only attribute in the same way as the hidden attribute.
Wow! Super! @PaulMeuris
Just what I was looking for - thanks a lot .

Initially, in my tests, I had the Hiden attribute set on the objects on which I was going to set READ-ONLY and it didn't work out, so I decided that I must be wrong in naming the attributes.
But already tamed

My Library: B4XAttribute
 
Last edited:
Upvote 0
Solution
Cookies are required to use this site. You must accept them to continue using the site. Learn more…