Hello Sergey
I put my Editor to readonly=true but I can still write on it.
Why?
I did this two way:
DBSrichViewEdit.Richview.readonly := True
Or
DBSRichViewEdit.ReadOnly := True
nothing happened, I can still write on the editor
Thanks
Alex
Readonly = True in DBSRichViewEdit
-
- Posts: 184
- Joined: Wed Jan 18, 2012 6:22 pm
-
- Site Admin
- Posts: 17560
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
As I understand, the problem happens only if DBSRichViewEdit is linked to a closed table at the beginning: you can type in it.
If you close a table later, all should be correct.
Fix: open DBSRVE.pas, add the last line in constructor TDBSRichViewEdit.Create(AOwner: TComponent):
If you close a table later, all should be correct.
Fix: open DBSRVE.pas, add the last line in constructor TDBSRichViewEdit.Create(AOwner: TComponent):
Code: Select all
TCustomRichViewEdit(RichViewEdit).ReadOnly := True;
-
- Posts: 184
- Joined: Wed Jan 18, 2012 6:22 pm
-
- Site Admin
- Posts: 17560
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 184
- Joined: Wed Jan 18, 2012 6:22 pm
-
- Site Admin
- Posts: 17560
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: