<p>Yes. It's a nice thing. I put an edit control and I can type on it. But only in Windows. In Mac main window is blocked.<br>
Juan.</p>
<div class="gmail_quote">El 08/08/2011 19:22, "Ludo Brands" <<a href="mailto:ludo.brands@free.fr">ludo.brands@free.fr</a>> escribió:<br type="attribution">> <br>> <br>> <br>> I have tried it. From main program, one button call a procedure in a DLL<br>
> with a form. Inside this procedure I code this:<br>> <br>> Application.Initialize;<br>> Application.CreateForm(TForm2, Form2);<br>> Form2.ShowModal();<br>> <br>> Is this Ok?<br>> <br>> <br>> In my apps I used Form2:=TForm2.create(nil); instead of<br>
> Application.CreateForm(TForm2,Form2); I don't think that makes a lot of<br>> difference for the main (from dll perspective), modal window.<br>> <br>> <br>> What I can see is that main window in programa never is blocked so I can<br>
> access both modal and main window. If I click twice button to get two modal<br>> windows from DLL, both are modal and now I can access last window created<br>> and main window.<br>> <br>> <br>> <br>> Are all controls working in both the main and the modal window? Clicking on<br>
> buttons, entering data, tabbing from one control to another, etc. <br>> <br>> Ludo<br></div>