You need form procedures something like what follows (the exact names depend on how you have named your TEditButton), and of course the ListBox1.DragMode property set to dmAutomatic.
procedure TFormQSA.EditButton1ButtonClick(Sender: TObject);
begin
limpaEditsExecute(Sender);
end;
procedure TFormQSA.limpaEditsExecute(Sender: TObject);
begin
if (Sender is TEditButton) then
TEditButton(Sender).Clear;
end;
procedure TFormQSA.pegaNomeCampoExecute(Sender: TObject);
begin
if (Sender is TEditButton) then
TEditButton(Sender).Text:=ListBox1.GetSelectedText;
end;
procedure TFormQSA.EditButton1DragDrop(Sender, Source: TObject; X, Y: Integer);
begin
if (Sender is TEditButton) and (Source is TListBox) then
pegaNomeCampoExecute(Sender);
end;
However, you do know that you can program the EditButton.DragDrop and EditButton.OnButtonClick events directly, without needing to use actions at all? Actions are only useful in this case if the same action is to be performed by the user via other means as well (called from a menu, executed by a timer etc.)