Lately I've been developing a mobile app, and I need to create a real-time%% with the predefined action function. So far I can create, but without the TEdit
action function.
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 setting the OnEnter property?