I was not aware that there is ReadOnly item in the popup menu. Thanks, I think it is working for me now.
BTW, the following statement
--> frmMain.WindowState := wsMaximized;
does not work. Is WindowState not yet implemented? If not, can somebody point me out(just a hint) on how I may help?
Yoyong
Internet Mail Message
Received from host:
svcr-216-37-230-2.dsl.svcr.epix.net
[216.37.230.2]
From: Mattias Gaertner on 02/26/2003 10:41 AM GMT
Mattias Gaertner To:
Cc: (bcc: Yoyong Hernan-ET/PGI)
Subject: Re: [lazarus] Project file not
updated
02/26/2003 06:41 PM
Please respond to
Show quoted text 13 lines
Hi all,
I think I found a bug...
1. Create a new project.
2. Add a unit where your access rights is read only. (the source will be
marked read only by the editor). Save and close project.
3. Change your access right of the file to full control (rw).
4. Open the lazarus project you just created. The file retains its read
only mode.
The only way you can change this is to manully edit the lpi??? file and
set the mode readonly to false.
Does the popupmenu not work?
The ReadOnly flag is currently not very clever. It is set, when the file is read only or the user marks it readonly. And is unset only by the user. It is helpful, when you open the original file and the working file and you don't want to change the original file by accident. The you just set the readonly flag in the popupmenu.
But if the flag was set automatically (not by the user) as in your case, then it should be automatically unset. I will change it ...
Mattias
_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives