Firemonkey and VCL - Edit cursor does not appear

Asked

Viewed 196 times

-1

I have a VCL project, with a main form in VCL and a button that opens a FMX form with an Edit, but when focusing on Edit the pointer does not appear and does not blink, the problem only happens when I open a form in fmx in a VCL project.

Opening the fmx form:

if Form1 = nil then Form1 := TForm1.Create(self);
form1.show; 

Aplicação com ponteiro não aparecendo no edit

  • but if you click on Edit the cursor already appears?

1 answer

0

I was able to solve the problem by adding application.run in the form.fmx formshow, because when we open a form fmx from a form vcl it is in the background, when running the application it identifies that the form is active, the pointer worked perfectly.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.