mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 20:43:46 +02:00
implemented TCustonListView.Clear (issue #1347)
git-svn-id: trunk@7972 -
This commit is contained in:
parent
418158b975
commit
a229e968b9
@ -889,6 +889,7 @@ type
|
||||
constructor Create(AOwner: TComponent); override;
|
||||
destructor Destroy; override;
|
||||
procedure BeginUpdate;
|
||||
procedure Clear;
|
||||
procedure EndUpdate;
|
||||
function FindCaption(StartIndex: Integer; Value: string; Partial, Inclusive, Wrap: Boolean; PartStart: Boolean = True): TListItem;
|
||||
property BoundingRect: TRect read GetBoundingRect;
|
||||
|
@ -392,6 +392,11 @@ begin
|
||||
then TWSCustomListViewClass(WidgetSetClass).BeginUpdate(Self);
|
||||
end;
|
||||
|
||||
procedure TCustomListView.Clear;
|
||||
begin
|
||||
FListItems.Clear;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------}
|
||||
{ TCustomListView EndUpdate }
|
||||
{------------------------------------------------------------------------------}
|
||||
|
Loading…
Reference in New Issue
Block a user