* Add bind call to list

This commit is contained in:
Michaël Van Canneyt 2022-04-11 13:58:41 +02:00
parent 14c840b2fd
commit b7396548f4

View File

@ -122,6 +122,7 @@ Type
Constructor Create(aOwner : TComponent); override;
Destructor Destroy; override;
Procedure Clear;
Procedure Bind;
Function IndexOfElementID(aID : String; StartAt : Integer = 0) : Integer;
Function FindActionByElementID(aID : String; StartAt : Integer = 0) : THTMLCustomElementAction;
Function GetActionsForElementID(aID : String) : THTMLCustomElementActionArray;
@ -241,6 +242,16 @@ begin
end;
end;
procedure THTMLCustomElementActionList.Bind;
Var
I : Integer;
begin
For I:=0 to ActionCount-1 do
Actions[I].Bind;
end;
function THTMLCustomElementActionList.IndexOfElementID(aID: String;
StartAt: Integer): Integer;
begin