[Gambas-user] DEVELOPMENT ENVIRONMENT using the file write permissions changes

Karl Reinl karl.reinl at ...9...
Thu Sep 4 22:40:46 CEST 2014


Am Dienstag, den 15.07.2014, 14:49 +0200 schrieb Benoît Minisini:
> Le 15/07/2014 14:46, Charlie Reinl a écrit :
> > Salut Benoît,
> >
> >
> > Date:     2014-07-11 11:51:47 +0000 (Fri, 11 Jul 2014)
> > Log Message:
> > -----------
> > [DEVELOPMENT ENVIRONMENT]
> > * NEW: All files can be "locked". This is implemented by using the file
> >    write permissions. The old form locking mechanism has been removed.
> >

Salut Benoît,

I dug a bit deeper, Project.SetReadOnly(Path, <boolean>) is, at least in
FEditor only used on load, but never on unload, so files in my case
symlinks, which are set to readOnly will stay so if I change the project
or close the IDE.

I tried this on FEditor

Public Sub Form_Close()
  Project.AddRecentFile(Me)
  Project.SetReadOnly(Path, False)
End

Ok, think its a bit rough, but works.
Finally it must be checked how stated the file, when opened, to
reset/keep this stat. 
-- 
Amicalement
Charlie


This problem persist still on IDE, am I the only who's using linked
files in project ?
 
-- 
Amicalement
Charlie





More information about the User mailing list