Hello

Hello,
I was hoping anyone can help me with a Modalform with textinput's that should handle textevents for TEdit in Firemonkey Android?

see below, TMyForm is a simple TForm. like this, with 2 buttons and 3x TEdit's. The formStyle is Popup, not Normal (standard)

TMyModalForm = class(TForm)
Edit2: TEdit;
Edit1: TEdit;
Edit3: TEdit;
Button1: TButton;
Button2: TButton;
private
{ Private declarations }
public
{ Public declarations }
end;

if I run this code, in an onclick event.

dlg := TMyModalForm .Create(nil);
dlg.ShowModal(procedure(ModalResult : TModalResult)
begin
if ModalResult = mrOK then
begin
// any work can be done here afterwards
end;
end);

the form is nicely shown. but there is no focus on the TEdit boxes.
The keyboard does not show up.

Anyone any idea how to get the TEdit working this way? (or any other way..)

Thanks

Comments