mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 07:09:28 +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 SetColumn(const AValue: TOICustomPropertyGridColumn);
|
||||||
procedure SetCurrentEditValue(const NewValue: string);
|
procedure SetCurrentEditValue(const NewValue: string);
|
||||||
procedure SetFavourites(const AValue: TOIFavouriteProperties);
|
procedure SetFavourites(const AValue: TOIFavouriteProperties);
|
||||||
|
procedure SetFilter(const AValue: TTypeKinds);
|
||||||
procedure SetItemIndex(NewIndex:integer);
|
procedure SetItemIndex(NewIndex:integer);
|
||||||
|
|
||||||
function GetNameRowHeight: Integer; // temp solution untill TFont.height returns its actual value
|
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 ValueFont: TFont read FValueFont write FValueFont;
|
||||||
property Favourites: TOIFavouriteProperties read FFavourites
|
property Favourites: TOIFavouriteProperties read FFavourites
|
||||||
write SetFavourites;
|
write SetFavourites;
|
||||||
|
Property Filter : TTypeKinds Read FFilter Write SetFilter;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -2570,6 +2572,15 @@ begin
|
|||||||
BuildPropertyList;
|
BuildPropertyList;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TOICustomPropertyGrid.SetFilter(const AValue: TTypeKinds);
|
||||||
|
begin
|
||||||
|
If (AValue<>FFilter) then
|
||||||
|
begin
|
||||||
|
FFilter:=AValue;
|
||||||
|
BuildPropertyList;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TOICustomPropertyGrid.Clear;
|
procedure TOICustomPropertyGrid.Clear;
|
||||||
begin
|
begin
|
||||||
ClearRows;
|
ClearRows;
|
||||||
|
Loading…
Reference in New Issue
Block a user