i need to make the login connection to my database via this form (in the picture), is there any way that i can do it?<br><br><div class="gmail_quote">On Wed, Jan 18, 2012 at 3:25 PM, Andreas Schneider-7 [via Free Pascal - General] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=5160853&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">

        



<span style="font-family:'Courier New';font-size:9pt">On Tuesday, January 17, 2012, at 16:24 Mattias Gaertner wrote:<br>
</span></div><table>
<tbody><tr>
<td width="2" bgcolor="#0000ff"><br>
</td>
<td width="637"><br><br>
<span style="font-family:'courier new';font-size:9pt"><div class="im">Andreas Schneider <<a href="http://user/SendEmail.jtp?type=node&node=5154137&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> hat am 17. Januar 2012 um 16:08 geschrieben:  <br>

> <br></div><div class="im">
> My current use case is: <br>
> - show a login form <br>
> - when login succeeds, show a progress form (connection  initialization) and close login <br>
> - on failure: go back to login <br>
> - on success: show the actual application form and close the login form <br>
 <br>
Instead of Application.CreateForm create the form directly. For example:<br>
 <br>
LoginForm:=TLoginForm.Create(nil);<br>
while LoginForm.ShowModal<>mrOk do ;<br>
LoginForm.Free; <br>
... <br>
Application.CreateForm(Form1); <br>
 <br>
 </div></span></td>
</tr>
</tbody></table>
<br><br>
<br>
<span style="font-family:'Courier New';font-size:9pt">Interesting idea ... that didn't occur to me yet. So I guess my use case IS covered already. Thanks :-)<br>
<br>
<span style="font-family:'arial';font-size:8pt;color:#c0c0c0"><i>-- <br>
Best Regards,<br>
Andreas

<br><div class="im">_______________________________________________
<br>fpc-pascal maillist  -  <a href="http://user/SendEmail.jtp?type=node&node=5154137&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" rel="nofollow" link="external" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a>
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        </div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://free-pascal-general.1045716.n5.nabble.com/Help-tp5116673p5154137.html" target="_blank" rel="nofollow" link="external">http://free-pascal-general.1045716.n5.nabble.com/Help-tp5116673p5154137.html</a>
        </div><div class="im">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Help!!, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://free-pascal-general.1045716.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></i></span></span></blockquote></div><br>
<div class="small"><br/><img src="/images/icon_attachment.gif" > <strong>Capture.JPG</strong> (57K) <a href="/attachment/5160853/0/Capture.JPG" target="_top" rel="nofollow" link="external">Download Attachment</a></div>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://free-pascal-general.1045716.n5.nabble.com/Help-tp5116673p5160853.html">Re: Help!!</a><br/>
Sent from the <a href="http://free-pascal-general.1045716.n5.nabble.com/">Free Pascal - General mailing list archive</a> at Nabble.com.<br/>