mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 18:29:36 +02:00
IDEIntf: tobjectinspector: changing filter after creation from Michael VC
git-svn-id: trunk@15611 -
This commit is contained in:
parent
97faf853fc
commit
fb5d6501e3
@ -343,6 +343,7 @@ type
|
||||
procedure SetColumn(const AValue: TOICustomPropertyGridColumn);
|
||||
procedure SetCurrentEditValue(const NewValue: string);
|
||||
procedure SetFavourites(const AValue: TOIFavouriteProperties);
|
||||
procedure SetFilter(const AValue: TTypeKinds);
|
||||
procedure SetItemIndex(NewIndex:integer);
|
||||
|
||||
function GetNameRowHeight: Integer; // temp solution untill TFont.height returns its actual value
|
||||
@ -493,6 +494,7 @@ type
|
||||
property ValueFont: TFont read FValueFont write FValueFont;
|
||||
property Favourites: TOIFavouriteProperties read FFavourites
|
||||
write SetFavourites;
|
||||
Property Filter : TTypeKinds Read FFilter Write SetFilter;
|
||||
end;
|
||||
|
||||
|
||||
@ -2570,6 +2572,15 @@ begin
|
||||
BuildPropertyList;
|
||||
end;
|
||||
|
||||
procedure TOICustomPropertyGrid.SetFilter(const AValue: TTypeKinds);
|
||||
begin
|
||||
If (AValue<>FFilter) then
|
||||
begin
|
||||
FFilter:=AValue;
|
||||
BuildPropertyList;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TOICustomPropertyGrid.Clear;
|
||||
begin
|
||||
ClearRows;
|
||||
|
Loading…
Reference in New Issue
Block a user