2
Lately I’m developing a mobile app and need to create a TEdit in real time with the predefined action function. So far I can create, but without the function OnEnter action.
Here is the code:
procedure CriarEdit;
var
  tipo:TForm;
  edit: TEdit;
begin
  tipo := Form1;
  edit := TEdit.Create(tipo);
  edit.Name := 'cp1';
  edit.Height := 30;
  edit.Width := 81.00001;
  edit.Enabled := true;
  edit.Visible := true;
  edit.ReadOnly := true;
  edit.Parent := tipo;
  edit.HitTest := true;
  // edit.OnEnter := executaOutraProcedure(); -- aqui dá problemas
end;
How can I be defining the Onenter property?