mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-14 02:19:39 +02:00
LCL/ShellCtrls: Change TShellListView/TShellTreeView.ReadOnly to be true by default.
This commit is contained in:
parent
723cc5ea3c
commit
9035cf4f5d
@ -175,7 +175,7 @@ type
|
||||
property ParentFont;
|
||||
property ParentShowHint;
|
||||
property PopupMenu;
|
||||
property ReadOnly;
|
||||
property ReadOnly default True;
|
||||
property RightClickSelect;
|
||||
property Root;
|
||||
property RowSelect;
|
||||
@ -346,7 +346,7 @@ type
|
||||
property ParentFont;
|
||||
property ParentShowHint;
|
||||
property PopupMenu;
|
||||
property ReadOnly;
|
||||
property ReadOnly default True;
|
||||
property RowSelect;
|
||||
property ScrollBars;
|
||||
property ShowColumnHeaders;
|
||||
@ -775,6 +775,7 @@ begin
|
||||
{$ELSE}
|
||||
FFindOptions := [foFindExpands];
|
||||
{$ENDIF}
|
||||
Options := Options + [tvoReadOnly];
|
||||
|
||||
// Initial property values
|
||||
FObjectTypes:= [otFolders];
|
||||
@ -1799,6 +1800,7 @@ begin
|
||||
ObjectTypes := [otNonFolders];
|
||||
FMaskCaseSensitivity := mcsPlatformDefault;
|
||||
FAutoSizeColumns := true;
|
||||
ReadOnly := true;
|
||||
|
||||
Self.Columns.Add;
|
||||
Self.Columns.Add;
|
||||
|
Loading…
Reference in New Issue
Block a user