well I managed to fix it, by recreating the form completely. But if i compare the .dfm and .pas there are no major differences...very strange.
Jason -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Coley Sent: Tuesday, 5 June 2007 8:50 a.m. To: Jason Subject: [delphi-en] Weird ShowModal behaviour I have one form that opens another form, Form A is set to bsDialog and created using Application(TfFormA, fFormA) and show using fFormA.ShowModal, then I have the second form loading from the first using the same process. Now the problem is, FormB is shown on the CreateForm procedure, automatically, why is this, anyone know. I use the same procedure in another app and don't have the problem at all? There is no OnCreate procedure for this form either. Jason [Non-text portions of this message have been removed] ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links

