SPECIAL OFFER        Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!

⤷ Get events of component

Use for solving of this question GetPropList function. Don't forget to add TypInfo in the uses chapter.

uses TypInfo;
...
procedure TForm1.Button1Click(Sender: TObject);
var
  ListProp: PPropList;
  TD: PTypeData;
  Num, i: Integer;
begin
  GetMem(ListProp, SizeOf(PPropInfo)*TD.PropCount);
  Num:=GetPropList(
    Sender.ClassInfo, 
    [tkMethod], 
    ListProp);
  for i:=0 to Num-1 do
    Memo1.Lines.Add(ListProp[i]^.Name);
end;
More for developers
Databases for Amazon Associates
Amazon Categories
Amazon Nodes