BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Calling MDI sub-project from withing an Application

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
Jim Sawyer
Guest





PostPosted: Fri May 13, 2005 4:04 pm    Post subject: Calling MDI sub-project from withing an Application Reply with quote



I have an SDI app, and I want to call a MDI app from inside it with a button
click. The MDI app has been developed outside the SDI app, and works fine.
I find, however, that it's not a simple matter to just call it from the SDI
app by a command such as

MyMDIAppForm.ShowModal;

It gets to the point where it is trying to open the child form (EditForm)
with the line of code

TEditForm.Create( Self );

and bombs with the error

'Cannot create form. No MDI forms are currently active'

Can someone give me a quick course in calling an MDI sub-project from within
an application???

Jim Sawyer
DataWare


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.