Create a dialog

How do you use more than one form?  When I try it seems to not work right.  I just use the standard:


Form1 := TForm1.Create(Application);
with Form1 do try
ShowModal;
finally
FreeAndNil(Form1);
end;

Thanks!
-Brent

Hi, 


We are unable to reproduce this here, The new form opens without issue 
can you send us a sample?
Kind Regards, 

Pieter
Thanks for the fast response.

I created a new project and it works fine now.  I am using XE5.  The problem project had a Tableview and maybe that was interfering.  I will probably use XE4 because I see that there are some issues.

Hi, 


There are some issues regarding creation of new forms and the TableView repainting. We have forwarded some questions about this and other issues to Embarcadero, but haven't received a response. 

If you are using mCL stick with XE4 for now.

Kind Regards, 
Pieter 

When I create a dialog using the code above it works correctly the first time.  The next time, the dialog opens but it reacts very slowly.  What is the proper code to create dialogs and release them?

Hi, 


Do you mean an empty form, or a form with mCL controls inside? If you are able to reproduce this with an empty form then this would be an issue in FireMonkey rather than an issue with our components.

Kind Regards, 
Pieter

It has controls like a textfield

Hi, 


We have tested this here with a single TTMSFMXNativeNSTextField and are unable to reproduce this.

Kind Regards,
Pieter
Pieter Scheldeman2013-11-25 02:47:49